Xamarin Messaging plugin not sending email

Hi,

I am using Xam.Plugins.Messaging for sending email from my xamarin app. Code is runing without any error but I am not getting email on "To" email.?

     public static EmailMessageBuilder BuildEmail(string content)
            {
                var builder = new EmailMessageBuilder()
                    .To("[email protected]")
                    .Subject("Mobile app query");
                builder.Body(content);

                   return builder;
            }

            public static void SendMyEmail(this IEmailTask emailTask,string content)
            {
                var email = BuildEmail(content).Build();
                    emailTask.SendEmail(email);
            } 

Using this method :

CrossMessaging.Current.EmailMessenger.SendMyEmail(content);

Answers

Sign In or Register to comment.