Sending emails from your Android, iOS, or Windows Mobile Devices with Ultimate Mail for Mobile

You can easily send emails from your mobile devices with just a few lines of C# code. From version 6.0 Ultimate Mail also includes support for Android and iOS platforms in addition to Windows, Linux and MAC OS X with .NET Framework and Mono.

With Ultimate Mail you can load your messages in EML or Outlook format using the same Load method. This is the screenshot of an example to load message from templates and send emails on iOS:

Mail-Template-iOS

This is the screenshot of an example to send emails on Android:

SMTP Config

The following code snippet is taken from an example for iOS to send emails:

Smtp client = null;
try
{
client = new Smtp ();
await client.ConnectAsync(ServerName, ServerPort, Mode);
}
catch (Exception ex)
{
_window.Busy = false;
Util.ShowException(ex);
return;
}

if (!string.IsNullOrEmpty(UserName))
{
try
{
await client.AuthenticateAsync(UserName, Password);
}
catch (Exception ex)
{
_window.Busy = false;
Util.ShowException(ex);
return;
}
}

try
{
await client.SendAsync(_message);
}
catch (Exception ex)
{
_window.Busy = false;
Util.ShowException(ex);
return;
}