cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
UNIX/Linux Programming
Can anyone recommend a good library that
Can anyone recommend a good library that allows me to send emails using my gmail account?
Sep 10, 2018 at 4:51am UTC
sage12
(2)
I've been looking for a while and I can't seem to find anything that would just simply allow my program to send an email using my gmail account.
Sep 10, 2018 at 4:36pm UTC
jonnin
(11495)
unix... can send emails from the command line. Unless you are trying to do very fancy html emails, this tool is pretty solid for typical needs and can be invoked inside a c++ program.
Sep 10, 2018 at 5:28pm UTC
Ganado
(6849)
sage12, first let's see how to do it via command-line before we integrate it into an actual program with an actual library.
https://unix.stackexchange.com/questions/363814/simplest-way-to-send-one-line-mail-out-via-command-line-using-gmail
I have not personally ever done this, but I believe what you want is an SMTP library.
libcurl
can do SMTP.
https://stackoverflow.com/questions/37092597/sending-an-email-with-libcurl-smtp-with-gmail-login-denied
https://curl.haxx.se/mail/lib-2014-01/0224.html
https://webcache.googleusercontent.com/search?q=cache:BcgQXp5kb08J:https://groups.google.com/d/topic/curlpp-devel/AeVImjan2S4+&cd=4&hl=en&ct=clnk&gl=us
There is also
libquickmail
https://stackoverflow.com/a/11909141
Last edited on
Sep 10, 2018 at 5:28pm UTC
Topic archived. No new replies allowed.