How to send a really BASIC mail?

78 views
Skip to first unread message

niely....@gmail.com

unread,
Mar 10, 2015, 3:43:28 PM3/10/15
to vm...@googlegroups.com
Hello

Can someone help me, on how to send a BASIC email (no html/attachements) using for example a GMAIL library?
Is this somewhere placed in the documentary?

C++ is of course the used language.

Thanks for reading,
Niely

Vincent Richard

unread,
Mar 10, 2015, 3:45:52 PM3/10/15
to vm...@googlegroups.com
Hi Niely!

You should definitely have a look at samples in "examples" directory of VMime source tree.
In particular, have a look at "example1" (to create a message) and "example6" (for sending over SMTP).

For correct connection to GMail servers, see here:
http://www.vmime.org/support/connecting-to-gmail-smtp.html

Cheers,

Vincent
Reply all
Reply to author
Forward
0 new messages