Creating and sending new email message

Login to reply to this topic.
Wed, 2004-10-27 17:08
Joined: 2004-10-27
Forum posts: 14
Hello all,

I am developing an application which takes details and creates an email which it then sends. But im a bit stuck. I have tried using CSendAs to create and send the message. I create the CSendAs and initilise it. I am able to set the MTM ( iSendAs->SetMtmL(KUidMsgTypeSMTP); ) but when i create the message (iSendAs->CreateMessageL(); ) the app quits... any ideas what could be causing this?

Is there a better way of creating and sending messages (the user doesnt need to interact with it)?

Many thanks in advance for any help,

michael
--

Fri, 2004-10-29 11:17
Joined: 2004-10-27
Forum posts: 14
Re: Creating and sending new email message
It works... the code was fine. The problem was that i didnt have any internet mailboxes set up on the handset i was testing the app on! Im a bit slow sometimes!!
  • Login to reply to this topic.