Re: Need SMTP Server
- From: "Nick" <nospam@xxxxxxx>
- Date: Fri, 7 Sep 2007 08:08:45 -0700
Thank you very much much Steve. This is information I can use. What I got from this Sanford character seemed to be more in the form of abuse and distain. These forums should be public forums where one goes for help on a subject. Sanford seemed to be a self appointed moderator in his own private forum. Power to the people!
Thanks again.
"Steve Schofield" <steve@xxxxxxxxxxx> wrote in message news:ulJqwtU8HHA.4476@xxxxxxxxxxxxxxxxxxxxxxx
Hi Nick,
Another thing you can do to make sure your local SMTP server is working. Change the SMTP port to 587 and send yourself a test message to your gmail account, assuming you one.
I was able to successfully test on an alternative port, assuming your ISP is blocking port 25. Port 587 is a well-known alternative SMTP port. Gmail accepts email on this port. Here is my ASP code run on my Vista box. I couldn't figure out how to extract the email headers from my gmail account, but the message did get there. I used the FreeSMTP server. Hope that helps you find an alternative so you can test your email code.
<html>
<body>
<%
sch = "http://schemas.microsoft.com/cdo/configuration/"
Set cdoConfig = CreateObject("CDO.Configuration")
With cdoConfig.Fields
.Item(sch & "sendusing") = 2 ' cdoSendUsingPort
.Item(sch & "smtpserver") = "127.0.0.1"
.Item(sch & "smtpserverport") = "587"
.update
End With
Set cdoMessage = CreateObject("CDO.Message")
With cdoMessage
Set .Configuration = cdoConfig
.From = "steve@xxxxxxxxxxx"
.To = "YourAccount@xxxxxxxxx"
.Subject = "Sample CDO Message"
.TextBody = "This is a test for CDO.message"
.Send
End With
Set cdoMessage = Nothing
Set cdoConfig = Nothing
response.write "Sent"
%>
</body>
</html>
--
Best regards,
Steve Schofield
Windows Server MVP - IIS
http://weblogs.asp.net/steveschofield
"Nick" <nospam@xxxxxxx> wrote in message news:C6E1234A-DD28-4E6E-9B8A-3F1AA51C784E@xxxxxxxxxxxxxxxxI need a SMTP Server to install on my Vista Home Premium operating system. I don't have any way to modify the DNS entries and this will have to operate on localhost. I will be using this to send emails from an ASP.Net web application during development.
SmarterMail has not worked for me and no one has been able to give me answers in this forum to get it to work. Now I need another approach. Any suggestions from a person that has actually done this on Vista?
.
- Follow-Ups:
- Re: Need SMTP Server
- From: Steve Schofield
- Re: Need SMTP Server
- References:
- Need SMTP Server
- From: Nick
- Re: Need SMTP Server
- From: Steve Schofield
- Need SMTP Server
- Prev by Date: Re: Need SMTP Server
- Next by Date: Re: Import blacklist to IIS
- Previous by thread: Re: Need SMTP Server
- Next by thread: Re: Need SMTP Server
- Index(es):
Relevant Pages
|