C# Code Sample
<%@ Import Namespace="System.Net" %> <%@ Import Namespace="System.Net.Mail" %> <script language="C#" runat="server"> protected void Page_Load(object sender, EventArgs e) { MailMessage mail = new MailMessage(); mail.From = new MailAddress ( "postmaster@YourHostedDomain.com" ); mail.Subject = "This is a test message" ; mail.Body = "If you can see this mail, your SMTP service is working" ; mail.To.Add( "recipient@somewhere.com" ); SmtpClient smtp = new SmtpClient( "[Mail Server name]" ); NetworkCredential credential = new NetworkCredential ("postmaster@YourHostedDomain.com" , "password"); smtp.Credentials = credential; smtp.Send(mail); Response.Write( "Message was sent to " + mail.To + " at " + DateTime .Now); } </script>
Trouble logging in? Simply enter your email address OR username in order to reset your password.
For faster and more reliable delivery, add support@everleap.com to your trusted senders list in your email software.