×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    63

    Send email to multiple id's

    Hello Guys,

    After looking out multiple posts in wiki and reading some threads in this forum, i am finally able to send email to single email id.

    But if i use the same code to send email to multiple email id's (semicolon seperated), the message gets queued up in the outbox.

    Is there a different API or different way to send email to multiple id's.

    Regards,
    Vinoth.R

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,568

    Re: Send email to multiple id's

    How do you add the address?

  3. #3
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    63

    Re: Send email to multiple id's

    I will have the email address in TBuf and i am using AddAddresseeL().

    Short snippet:

    iMtm = static_cast<CSmtpClientMtm*>(iMtmRegistry->NewMtmL(KUidMsgTypeSMTP));
    .
    .
    .

    _LIT(Kmail,"example@nokia.com;example1@nokia.com");
    TBuf<20> buf(Kmail);

    iMtm->AddAddresseeL(buf);

  4. #4
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Bangalore, India
    Posts
    777

    Re: Send email to multiple id's

    Quote Originally Posted by vinothg View Post
    I will have the email address in TBuf and i am using AddAddresseeL().

    Short snippet:

    iMtm = static_cast<CSmtpClientMtm*>(iMtmRegistry->NewMtmL(KUidMsgTypeSMTP));
    .
    .
    .

    _LIT(Kmail,"example@nokia.com;example1@nokia.com");
    TBuf<20> buf(Kmail);

    iMtm->AddAddresseeL(buf);
    ,


    look on this,I hope it will help u
    https://forge.betavine.net/plugins/s...ym&view=markup

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,568

    Re: Send email to multiple id's

    AddAddresseeL expects a single address I think, but you can invoke it multiple times.

  6. #6
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    63

    Re: Send email to multiple id's

    Thanks to Nitesh and wizard_hu.

    The link you provided had all the information i was looking out for.

    Thank you very much.

Similar Threads

  1. Need help to send a email using smtp.
    By smanikandan14 in forum Symbian Networking & Messaging (Closed)
    Replies: 7
    Last Post: 2009-10-07, 11:31
  2. How to send an image with attachment in email
    By krtrivdi in forum Symbian
    Replies: 1
    Last Post: 2007-01-09, 12:07
  3. send email with attachment by CSmtpClientMtm
    By sam_jason in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2005-05-14, 10:05
  4. How to send multiple binary XML via SMS?
    By kirillT in forum Smart Messaging
    Replies: 0
    Last Post: 2003-05-29, 00:37

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •