1
votes

As I tried to explain in the title, I need to send emails in my WP8 app from my own account not by the existing accounts on the phone. I plan to use this for password reset process. What I currently use is:

private void Button_Click(object sender, RoutedEventArgs e) {

        EmailComposeTask emailcomposer = new EmailComposeTask();
        emailcomposer.To = "AMailAdress";
        emailcomposer.Subject = "subject from test app";
        emailcomposer.Body = "This is a test mail from Email Composer";
        emailcomposer.Show();

}

This just sends via user's accounts. Shortly, I need a way to set from field sending an email. Any help is appreciated.

1

1 Answers

0
votes

You should better send email from the server, not from windows phone app. If it doesn't need user's account then there is no reason for the email to be created from the phone.

Maybe you can POST to an URL with required info, and make the server (your service) send the email.