Original Post
I would like with a click of a button in a dialog box to send an email to a specific email. I would like to do it without using C# only with C++, is it possible? Where should I start?
< 220 SMTP server ready> HELO Jazzy mail sender program< 250 Hello Jazzy mail sender program [64.26.15.112]> MAIL FROM:<MyName@MyServer.com>< 250 Ok, Sender accepted> RCPT TO:<Target@TargetHost.com>< 250, Ok, That is a valid mailbox> DATA< 354 Send data, terminate with CRLF.CRLF> Hello, this is just a little test e-mail without any headers or anything.You can send whatever you like here, although you'll need to do some stuff withMIME if you want to send attachments or something.You end the message like this:.< 250 Mail has been queued for delivery> QUIT< 221 Goodbye.[Server closes connection]Quote:
Original post by The C modest god
I dont want to have to ask the user for their server address, since I myself dont know what are my server address.
I will have to do with perhaps openning the default email program and filling it with the desired information? Is that possible? How do I do that?
Quote:Yeah, Google came up with that, but Outlook Express doesn't support it (it only sets the body to the last body= line), so thats a bit of a bummer.
Original post by Pipo DeClown
Perhaps the HTML-tag BR would work? Anyway, some e-mail clients support multiple body vars which will end up as seperate lines:
&body=line1&body=line2..
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more