I'm making a program that supports email functionality within a web browser. I want it to be able to email people and I'm trying to find out how I can accomplish this using C++. Could someone please help?
A:
Sockets are your best bet. Your best resource for sockets in C and C++ is: http://beej.us/guide/bgnet/
For an implementation try here: http://www.codeguru.com/forum/showthread.php?t=300530
Next time, please try to google this.
Cheers, LogicKills
LogicKills
2009-04-13 23:22:23
A:
If all else fails, you could always write the mail to a file and try using system(3) to invoke mail(1).
$ mail -s 'OMG!' [email protected] < mymailfile
Charlie Martin
2009-04-14 04:07:18