Answered Send mail - Immediately

  • Thursday, July 12, 2012 2:10 PM
     
     

    Hi ,

    my NETCF application sends e-mail by using PocketOutlook namespace. The problem is that the e-mail is saved in Outlook and sent by Outlook according to his settings for automatic send/receive (for example 10 minutes).

    I would like to send the mail immediately without to wait the Outlook decide to send and receiver.

    Is this possible ?

    Thank you in advance.

    Regards

    Dev-Studio

All Replies

  • Friday, July 13, 2012 6:33 AM
    Moderator
     
     Answered Has Code

    Hi dev-studio,

    Welcome to the MSDN forum.

    1.        Based on my understanding, the Microsoft.WindowsMobile.PocketOutlook API is encapsulated, so changing the API is not possible. I have searched and find a link says:” Based on the status and settings of the device, the e-mail is either sent immediately or the next time the user has network connectivity and starts a send operation.” (http://msdn.microsoft.com/en-us/magazine/cc163503.aspx ). So maybe the send time differs in variable users.
    2.        Also maybe you have set send options which is similar to this :
     MessagingApplication.DisplayComposeForm(msg); (From this link: http://msdn.microsoft.com/en-us/magazine/cc163503.aspx )

     So, try to change the behavior.

    I hope my suggestions will help.

    Regards,

    Elegentin


    Elegentin Xie [MSFT]
    MSDN Community Support | Feedback to us