Project

General

Profile

Actions

Support #2695

closed

Sending mail messages

Added by Евгений Илюшин over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
02/21/2014
Due date:
% Done:

0%

Estimated time:

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);

Actions #1

Updated by Wim Dumon over 10 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.

Actions #2

Updated by Koen Deforche over 10 years ago

  • Assignee set to Wim Dumon
Actions #3

Updated by Koen Deforche over 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF