×

Discussion Board

Results 1 to 14 of 14
  1. #1
    Super Contributor
    Join Date
    May 2006
    Location
    Beijing,China
    Posts
    1,190

    Red face How to send email using rsendas and rsendasmessage

    code also like send sms, but where should be modified?
    Do I need to configure the pop and Smtp protocals
    How should I do to send email using rsendas, pls give me some instruction steps.

    RSendAs sendAs;
    User::LeaveIfError(sendAs.Connect());
    CleanupClosePushL(sendAs);

    RSendAsMessage sendAsMessage;
    sendAsMessage.CreateL(sendAs, KUidMsgTypeSMS); //KUidMsgTypeSMS change to waht?
    CleanupClosePushL(sendAsMessage);

    // prepare the message
    sendAsMessage.AddRecipientL(_L("xhsoldier@hotmail.com"), // right?
    RSendAsMessage::ESendAsRecipientTo);
    sendAsMessage.SetBodyTextL(_L("aMessageBody"));

    // send the message
    sendAsMessage.SendMessageAndCloseL();
    //where to attach the attachment?

    // sendAsMessage (already closed)
    CleanupStack::Pop();

    sendAs.Close();
    // sendAs
    CleanupStack::PopAndDestroy();

  2. #2
    Super Contributor
    Join Date
    May 2006
    Location
    Beijing,China
    Posts
    1,190

    Wink Re: How to send email using rsendas and rsendasmessage

    Waiting for the answer online,
    does sending email relate with the creating account.
    I really do not know what is account used for?

  3. #3
    Super Contributor
    Join Date
    May 2006
    Location
    Beijing,China
    Posts
    1,190

    Question Re: How to send email using rsendas and rsendasmessage

    Nobody knows this!!!!!!!!!!!!!!!!!

  4. #4
    Super Contributor
    Join Date
    May 2006
    Location
    Beijing,China
    Posts
    1,190

    Question Re: How to send email using rsendas and rsendasmessage

    Why? nobody answer me? every one know, please just tell me.

  5. #5
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: How to send email using rsendas and rsendasmessage

    hi,

    check the email example for easy of receiving an email .u have to explictly code for the sending part of the email.

    http://www.forum.nokia.com/info/sw.n..._v1_1.zip.html

    Regards,
    Mateen Maldar
    "Whatever the mind can conceive and believe, the mind can achieve"

  6. #6
    Super Contributor
    Join Date
    May 2006
    Location
    Beijing,China
    Posts
    1,190

    Wink Re: How to send email using rsendas and rsendasmessage

    But, can you tell me
    Is it possible to send email using rsendas and rsendasmessage?
    and how to do it?
    thanks a lot

    Quote Originally Posted by mateen_maldar
    hi,

    check the email example for easy of receiving an email .u have to explictly code for the sending part of the email.

    http://www.forum.nokia.com/info/sw.n..._v1_1.zip.html

    Regards,
    Mateen Maldar

  7. #7
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: How to send email using rsendas and rsendasmessage

    hi,

    AFAIk for sending or receiving emails u have to configure ur POP3 or IMAP4 connection.Coz similar to the access points defined to sms , one has to confire for POP3 or IMAp4 so i didn't tried with RSendMessage coz it has no scope for direct access for the connections of emails.

    so check the email example and make ur own code for send emails.

    Regards,
    Mateen Maldar
    "Whatever the mind can conceive and believe, the mind can achieve"

  8. #8
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: How to send email using rsendas and rsendasmessage

    hi,

    this is the release notes of email example


    PRECONDITIONS AND CONFIGURATION


    The following settings must be configured for the example application:

    Internet access point with TCP/IP (note that WAP settings are not
    sufficient). The Internet access point is usually received from the operator.
    It might even be a built-in feature of the device (such as in the Nokia 6600
    in some countries), or it can be set manually in the device’s control panel
    from Tools->Settings->Connections->Access points. If necessary, refer to the
    user’s guide of the device.

    IMAP/POP settings in the built-in messaging application:
    Messaging->Mailbox->Settings.

    NOTE 1: This example application always uses the first IMAP and/or POP
    service entry that has been set. This means that you can have more than one
    service entry of each type but only the first one of the given type is used.

    NOTE 2: The minimum e-mail service settings you need are username,
    password, and the URL of the receiving server. The protocol type must be
    either IMAP or POP. All other fields can contain the default value or any
    strings. However, the configuration must correspond with the used e-mail
    server and the features it supports. If you want to send e-mail using the
    generic view, remember also to set the sending server, which should be the
    SMTP server
    .
    Regards,
    Mateen Maldar
    "Whatever the mind can conceive and believe, the mind can achieve"

  9. #9
    Super Contributor
    Join Date
    May 2006
    Location
    Beijing,China
    Posts
    1,190

    Question Re: How to send email using rsendas and rsendasmessage

    I have successfully sent and received email using the accounts set by the user(local service).

    How do I send email without using any email account?

  10. #10
    Super Contributor
    Join Date
    May 2006
    Location
    Beijing,China
    Posts
    1,190

    Smile Re: How to send email using rsendas and rsendasmessage

    go on asking

  11. #11
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: How to send email using rsendas and rsendasmessage

    hi,
    i didn't get u wht u mean by the message u posted...
    Quote Originally Posted by xhsoldier
    go on asking

    Regards,
    Mateen Maldar
    Last edited by mateen_maldar; 2006-07-12 at 14:31. Reason: Mistyped again
    "Whatever the mind can conceive and believe, the mind can achieve"

  12. #12
    Super Contributor
    Join Date
    May 2006
    Location
    Beijing,China
    Posts
    1,190

    Smile Re: How to send email using rsendas and rsendasmessage

    just as before, I want to know how to send and recieve email using RSendAs and RSendAsMessage?
    better for some exzmple, there is no example at all.

    Quote Originally Posted by mateen_maldar
    hi,
    i didn't get u wht u mean by the message u posted...



    Regards,
    Mateen Maldar

  13. #13
    Registered User
    Join Date
    Jan 2005
    Posts
    2

    Re: How to send email using rsendas and rsendasmessage

    use

    const TUid KUidMsgTypeSMTP= {0x10001028};

    and it ll work
    rgds
    frank

  14. #14
    Registered User
    Join Date
    Jan 2005
    Posts
    2

    Re: How to send email using rsendas and rsendasmessage

    it s in
    #include <miutset.h>
    rgds
    frank

Similar Threads

  1. Using RSendAs and RSendAsMessage
    By xhsoldier in forum Symbian
    Replies: 7
    Last Post: 2009-08-05, 14:42
  2. Another problem when using rsendas and rsendasmessage
    By xhsoldier in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2006-07-18, 12:25
  3. Replies: 3
    Last Post: 2006-06-27, 09:39
  4. Another problem when using rsendas and rsendasmessage
    By xhsoldier in forum General Messaging
    Replies: 4
    Last Post: 2006-06-27, 09:02
  5. Using RSendAs and RSendAsMessage
    By xhsoldier in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2006-06-26, 10:20

Posting Permissions

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