Send email with attachment in Xamarin

Xamarin Logo

Send email with attachment in Xamarin

Here’s the solution to send an email using the MailKit library, and ensure the email gets sent in the DEBUG and RELEASE modes.

If you run into a problem where an email is only sent in the DEBUG mode, but not in RELEASE ensure to add the internet permission to your manifest file.

 

 

Leave a Reply