Fry Posted May 19, 2006 Share Posted May 19, 2006 hi i have followed every steps from the tutorial to build the IIs 5.1 to build the stmp and website.when i use the code from the tutorial to send emails, alll i got is emails in the queue folder. here is the code below. i tried all sort of thing for almost 2 weeks, i still couldn't send email. Can someone please help me? I am using rogers internet. and i am using a router. I have set up the router so the port 25 is forward to my computer. I am sure the code is correct, i think i messed something up from the smtp setting or some connection setting issue, the router wasn't configure properly.<%Set myMail=CreateObject("CDO.Message")myMail.Subject="Sending email with CDO"myMail.From="mymail@myidomain.com"myMail.To ="joeydeng@hotmail.com"myMail.TextBody="hi from joey This is a message."myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing")=2'Name or IP of remote SMTP servermyMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver")="localhost"'Server portmyMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport")=25 myMail.Configuration.Fields.UpdatemyMail.Sendset myMail=nothingResponse.Write("Joey default email has been sent out")%>here is the smtp setting in my iis. i've asked in other forum but no one knows the cause.http://forums.aspfree.com/attachment.php?attachmentid=3660http://forums.aspfree.com/attachment.php?attachmentid=3661http://forums.aspfree.com/attachment.php?attachmentid=3662http://forums.aspfree.com/attachment.php?attachmentid=3663 Link to comment Share on other sites More sharing options...
justsomeguy Posted May 20, 2006 Share Posted May 20, 2006 Are you sure that rogers internet lets you send email? Most home ISPs block the outgoing mail port. Check the logs for the SMTP server to see if it is having any problems. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now