locked
Send Mails in winrt app

    Question

  • Hi All,

    My WinRT Application is having Login Page,

    As a Functionality of Login page i need to provide "forgot password" link to the user once user clicks on that link i will ask for his Email Id once he enters his email id i need to send an auto generated Email to the user 

    How can i achieve this?

    I Dont want to use Hotmail/outlook in built App

    i.e., From:xyz@support.com

    to:user1@xyz.com

    Any Suggestion Would be of great help.

    Thanks

    Arjun


    Arjun

    Tuesday, October 21, 2014 9:43 AM

Answers

All replies

  • If it is a Windows phone 8.1 universal app, you can use the EmailMessage class as noted in the below link.

    http://msdn.microsoft.com/en-us/library/windows/apps/xaml/dn632427.aspx

    If it is windows , you might have to still use the mail client on the device.

    Tuesday, October 21, 2014 7:14 PM
    Moderator
  • Hi,

    Can you please tell me how to import the EmailMessage class. I have tried by using

    using Microsoft.Phone.Tasks;
    //Microsoft.Phone.Tasks.EmailComposeTask
    using System.Net.Mail;
    using System.Net.Mime;
    using System.Text.RegularExpressions;
    using Windows.ApplicationModel.DataTransfer;

    But the EmailMessage is still missing.

    Thanks

    Saturday, November 15, 2014 9:58 AM