Configure SMTP Email with IIS Manager

If you want to deliver e-mails from your site, you need to configure the SMTP e-mail feature in IIS. E-mails can be send immediately or to a file location on a disk where it can be retrieved for sending it later.  In this article I will give you a step by step guide on how to Configure SMTP Email with IIS Manager

1. Make sure remote management is enabled. If you don’t know how to enable remote management, please read this article.

2. Open IIS 7 Manager:

mail iis manager arvixe

3. Connect to your site:

mail connecting iis server arvixe

4. In the ASP.NET menu, click on SMTP Email:

mail smtp menu iis manager

5. Enter the email address and set SMTP server to localhost. In Port enter “25” and click on “Apply” to save your settings:

smtp configuration iis server settings6. And that’s it! SMTP has been configured!

Looking for quality ASP Web Hosting? Look no further than Arvixe Web Hosting!

Happy Hosting!

Rodolfo Hernandez

Tags: , , , , , , , , , , , , , , , , , | Posted under DotNet/Windows Hosting, WebsitePanel Tutorials | RSS 2.0

Author Spotlight

Rodolfo Hernandez

I like photography and reading books. Currently working for Arvixe as Elgg Community Liaison. Elgg Security Expert Web Security Expert CEO of UDP SW Social Web

2 Comments on Configure SMTP Email with IIS Manager

  1. Dear Rodolfo,

    I am a developer and I encouraged my client to host with arvixe, however, we are expereicning incosistency in delivery of mail to our newly created clients. Attached is the last mail I sent to arvixe. ANY HELP?

    Hi Scott,

    I have just created 4 new clients now, 2 delivered (, and 2 failed (

    Below is the code that sends the mail for your evaluation

    Public Function SendMailNow(ByVal emailMsgto As String, ByVal Pwd As String) As Boolean
    ‘Mail Server Setup
    Dim Smtp_Server As New SmtpClient
    Smtp_Server.UseDefaultCredentials = False
    Smtp_Server.Credentials = New Net.NetworkCredential(“”, “NoReply#12345”)
    Smtp_Server.Host = “”
    ‘Smtp_Server.Host = “”
    ‘Smtp_Server.Host = “”
    Smtp_Server.Port = 25
    ‘Smtp_Server .Port = 587
    Smtp_Server.EnableSsl = False
    ‘Smtp_Server.EnableSsl = True

    ‘Setup Actual Message
    Dim MsgBody As String = “Dear ” & username & “,Your user Account was created Successfully on MusikTrak.” & _
    ” here are your login credentials’ Username:” & username & _
    “Password: ” & Pwd & “” & _
    “Use these credentials’ to login to your Account and change the password to that of your choice.” & _
    “NOTICE: The password is case-sensitive.Thank You ” & _
    “From CCM Team”
    Dim ah As AlternateView = AlternateView.CreateAlternateViewFromString(MsgBody, Nothing, MediaTypeNames.Text.Html)

    ‘Setup Message Parameters
    Dim e_mail As New System.Net.Mail.MailMessage()
    ‘e_mail = New MailMessage()
    e_mail.Subject = “New MusikTrak Account”
    e_mail.From = New MailAddress(“”)
    e_mail.ReplyToList.Add(New MailAddress(“”))
    e_mail.IsBodyHtml = True
    e_mail.Priority = System.Net.Mail.MailPriority.High

    ‘Embed Logo Into Mail
    Dim pic1 As New LinkedResource(“C:\logoCCM.jpg”, MediaTypeNames.Image.Jpeg)
    pic1.ContentId = “Pics”


    Return True

    Catch error_t As Exception
    LoggError(error_t.Message, error_t.Data.ToString(), error_t.InnerException.ToString())
    Return False
    End Try
    End Function

    Our development platform is aspx.

    Best Regards

Leave a Reply to Rodolfo Hernandez Cancel reply

Your email address will not be published. Required fields are marked *