Re: [Evolution-hackers] Sending a CamelMimeMessage

You must append the mail to the outbox, and then call mail_send.  You don't need to put it in the Sent folder.

You should never send it directly, it must go through this mechanism to guarantee delivery and handle all the various program states properly.

On Sat, 2004-08-07 at 15:35 +0200, ERDI Gergo wrote:

While working on the message receipt bounty, I couldn't find an easy way 
to just send a CamelMimeMessage without doing unnecessary things like 
putting it in the Sent Items folder (like in em_utils_composer_send_cb). 
Ideally, I'd need a very simple "send_message (CamelMimeMessage *message)" 
function. Where can I find that?


    .--= ULLA! =---------------------.   `We are not here to give users what
    \     \   they want'  -- RMS, at GUADEC 2001
     `---= cactus cactus rulez org =---'
Írástudatlan? Írjon nekünk és mi segítünk!


Michael Zucchi <notzed ximian com>

"born to die, live to work, it's all downhill from here"

Novell's Evolution and Free Software Developer

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]