Send Email

Feb 9, 2017 at 11:54pm
Is is possible to send an email in c++ ?

Feb 10, 2017 at 12:01am
yes & no.

you can send one from a console command in unix, via a system or similar command. Or via libraries.

you can tap into window's libraries in windows.

Its not part of the language as a built in command, but its certainly possible. You can even do it yourself the hard way, write the correct Ethernet and mail server stuff to do it, but that is a bit of work...
Feb 10, 2017 at 12:50am
Look into libcURL. There is SMTP[S] support.
https://curl.haxx.se/libcurl/
Topic archived. No new replies allowed.