Actions
Support #2695
closedSending mail messages
Description
Hello !
Tell me please, how can i know message was sent or not ?
#include
#include
Mail::Message message;
message.setFrom(Mail::Mailbox("kudos@corp.org", "Kudos Dukos");
message.addRecipient(Mail::To, Mail::Mailbox("koen@emweb.be", "Koen Deforche");
message.setSubject("Hey there, koen!");
message.setBody("That mail client seems to be working.");
message.addHtmlBody (\"
\"
"That mail client"
\" seems to be working just great!
");
Mail::Client client;
client.connect("localhost\");
client.send(message);
Updated by Wim Dumon almost 11 years ago
- Status changed from New to Resolved
Currently you can't know. The error will be reported in the log (logger Mail.Client).
I fixed send() to return a boolean.
BR,
Wim.
Updated by Koen Deforche almost 11 years ago
- Status changed from Resolved to Closed
Actions