Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6655059
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:28:01+00:00 2026-05-26T01:28:01+00:00

I have a windows 2003 / IIS 6.5 machine running a classic ASP site.

  • 0

I have a windows 2003 / IIS 6.5 machine running a classic ASP site.

The site itself sends emails (‘forgot password’, etc.) and I also run scripts on the machine to send email newsletters.

I don’t have a real problem sending… but I am confused about how emailing actually works.

Is the SMTP server (IIS) ever communicating with my email provider (gmail for business) when I send from my website (I don’t provide any login info)? Does my IIS SMTP server just blast emails out (maybe doing an MX lookup for the target?)? Is it the SPF record in the DNS records that allows this?

I just rebuilt our server (after disaster) and moved our email to gmail… so, I am setting this all up now… I can read all the ‘how-to’ articles – but unless I understand a few simple concepts, I won’t really know what I am doing.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T01:28:02+00:00Added an answer on May 26, 2026 at 1:28 am

    When sending a mail to someone, there’s two SMTP servers involved.

    • Your own SMTP server (sender)
    • The recipients SMTP server (receiver)

    Basically, when you send a mail from your mailclient, your mailclient sends the mail to your own SMTP server, which then sends the mail to the recipients SMTP server. The reason for this (hop) is because servers may be down/slow/etc and your own server’s responsibility is now to try and deliver the mail for (usually) within 48 hours.

    To find out what SMTP server the receipient has, the MX-records are looked up, by the sender SMTP, for the recipients domain:

    C:\> nslookup -type=mx hotmail.com
    Server:  dns.server.com
    Address:  183.255.245.11
    
    Non-authoritative answer:
    hotmail.com     MX preference = 5, mail exchanger = mx1.hotmail.com
    hotmail.com     MX preference = 5, mail exchanger = mx2.hotmail.com
    hotmail.com     MX preference = 5, mail exchanger = mx3.hotmail.com
    hotmail.com     MX preference = 5, mail exchanger = mx4.hotmail.com
    

    As you can see, multiple SMTP servers can be specified for a domain (for redundancy), and the sender SMTP will pick one based on priority (one that works). The mail is then sent to that server.

    And (if not using a webmail) the recipients mailclient may download that mail using e.g. POP3 or IMAP protocols.

    Now, when you send a mail from ASP.NET the sender SMTP server is usually the local IIS SMTP service, and not the usual SMTP server for your domain (the one that you yourself use to send mail; in your instance Gmail).

    SPF-records are records added to your DNS to specify what SMTP servers are allowed to send mail from your domain. Usually, IF you specify them, the receiver SMTP servers force that the the sender SMTP server is listed in the SPF record for the domain in the from-address. If you don’t specify them however, mail is usually let though anyway, and other SPAM-filers kick in.

    Anyway, hope this helps to clarify things…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.Net 3.5 website running in IIS 6 on Windows Server 2003
I have a ASP.NET 1.1 application running on IIS 6 / Windows Server 2003.
I have an ASP.NET MVC 1.0 application running on Windows Server 2003 IIS 6.0.
I have an iis server on a windows 2003 production machine that will not
Windows 2003/IIS 6... I have a virtual directory on a web site that closely
I have an asp.net website (SQL Server, Windows 2003, IIS 6) and I am
I have a IIS server running on Windows Server 2003. The server hosts multiple
I have a website running on a Windows 2003 server on IIS 6, serving
i have published asp.net mvc application on iis 6 on the server(windows server 2003)
We have a Windows Server 2003 machine running IIS6.0 that hosts two different websites.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.