Forum Xamarin.Android

Send Mail doesnt work

HelgeKeckHelgeKeck DEMember ✭✭
edited April 2017 in Xamarin.Android

Hi,

im trying to send an email. Mail is inside the sended Folder in Outlook but never arrives.

Mail adress is correct

private void Btn_mail_Click(object sender, System.EventArgs e) { var email = new Intent(Intent.ActionSend); email.PutExtra(Intent.ExtraEmail, new string[] { "[email protected]" }); email.PutExtra(Intent.ExtraSubject, "WiFi Tool for Android" + Build.VERSION.SdkInt + " " + Build.VERSION.Release + " API " + Build.VERSION.Sdk); email.SetType("message/rfc822"); StartActivity(email); }

any ideas?

Best Answer

  • HelgeKeckHelgeKeck DEMember ✭✭
    Accepted Answer

    it is working now. no idea what the Problem was

Answers

  • HelgeKeckHelgeKeck DEMember ✭✭
    Accepted Answer

    it is working now. no idea what the Problem was

Sign In or Register to comment.