Send email from listview useing Messaging Plugin for Xamarin

I Want to send a Email to the Email i tap on my listview insted of "[email protected]". how can you do that? Useing: Messaging Plugin for Xamarin

this is my code:

    private void OnEmailTapped(object sender, EventArgs e)
    {
        var emailMessenger = CrossMessaging.Current.EmailMessenger;
        if (emailMessenger.CanSendEmail)

            emailMessenger.SendEmail("[email protected]");
    }

Answers

  • SirAndriySirAndriy USMember ✭✭✭

    Messaging Plugin - only open default mail app with email adress that you passed in SendEmail method.
    Sorry, but I don't get where is problem? SendEmail don't works for you?

  • LoLeHLoLeH DKMember ✭✭

    i have a listview with some contacts, but when i click there email it just sends to "[email protected]" and not the email i press. @SirAndriy

Sign In or Register to comment.