Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending emails using CreateObject("CDO.Message")

Status
Not open for further replies.

emozley

Technical User
Jan 14, 2003
769
GB
Hi,

At the moment all of my pages for my website work the same on my laptop at home as they do when uploaded on to the website.

Next I've got some scripts then send emails (for example lost password or account creation). Is there any way I can set up IIS on my home laptop so that it can generate emails so I can test the scripts before uploading them?

I don't really understand how it works to be honest - I know IIS has an SMTP component but since it is just a home PC does this mean it's not possible? I am running Windows Vista Premium.

Thanks very much

Ed
 
I'd recommend downloading VMware or Virtual PC and installing what ever server OS you use on the virtual machine so that you have a like environment for testing.

Denny
MCSA (2003) / MCDBA (SQL 2000)
MCTS (SQL 2005 / Microsoft Windows SharePoint Services 3.0: Configuration / Microsoft Office SharePoint Server 2007: Configuration)
MCITP Database Administrator (SQL 2005) / Database Developer (SQL 2005)

My Blog
 
Hi,

I'm using the same version of IIS so hopefully that should be enough. What I don't understand is do I need to install an additional SMTP agent on my PC like SendMail or should the SMTP component of IIS be enough on it's own?

If it is IIS that sends the message does it go via my ISP? If so how do they know that my PC isn't just part of some zombie network?

Thanks

Ed
 
IIS should be fine. You don't need to install another SMTP service.

IIS will send the message out as if it were a production SMTP server on the Internet. You ISP doesn't know that you aren't part of some zombie network, and will probably will the outbound SMTP connection.

Most ISPs for home network connections block the SMTP port (TCP port 25) to prevent spam.

Denny
MCSA (2003) / MCDBA (SQL 2000)
MCTS (SQL 2005 / Microsoft Windows SharePoint Services 3.0: Configuration / Microsoft Office SharePoint Server 2007: Configuration)
MCITP Database Administrator (SQL 2005) / Database Developer (SQL 2005)

My Blog
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top