Snapmail makes these 4 tasks amazingly simple:
1. Software development engineer, software test engineer or product manager, conduct email testing for your own company’s website, product or marketing campaign.
2. A single inbox is enough for all with wildcard inbox.
Add an email address support prefix.
We can receive all the emails when the address start with the prefix.
You can always get a new email address when you click [Copy], so you don’t have to worry about using duplicated email address.
3. Send email with Snapmail SMTP server.
Sending email using builtin C# libraries:
using System;
using System.Net.Mail;
using System.Net.Mime;
namespace ConsoleApp2
{
class Program
{
static void Main(string[] args)
{
try
{
MailMessage mailMsg = new MailMessage();
// To
mailMsg.To.Add(new MailAddress("tom@snapmail.cc"));
// From
mailMsg.From = new MailAddress("jerry@snapmail.cc");
// Subject and multipart/alternative Body
mailMsg.Subject = "subject";
string text = "text body";
string html = @"<p>html body</p>";
mailMsg.AlternateViews.Add(AlternateView.CreateAlternateViewFromString(text, null, MediaTypeNames.Text.Plain));
mailMsg.AlternateViews.Add(AlternateView.CreateAlternateViewFromString(html, null, MediaTypeNames.Text.Html));
// Init SmtpClient and send
SmtpClient smtpClient = new SmtpClient("mail.snapmail.cc", 25);
// It's anonymous, no username and password required.
// System.Net.NetworkCredential credentials = new System.Net.NetworkCredential("username@domain.com", "password");
// smtpClient.Credentials = credentials;
smtpClient.Send(mailMsg);
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
}
}
}
4. Automate user registration with Snapmail API.
When it comes to automation test for website, you will need to cover the case of automating user registration. With Snapmail API, you can get it done at your fingertips. View details> >