andycharger Posted September 8, 2003 Posted September 8, 2003 Can someone help? I have built a little bit of code to send an email. Until I made a change to my SMTP server on my local machine, it kept failing with an "unable to relay message" error. However, I have now granted my machine's IP address permission to relay email. The problem is, it is never arriving in my inbox. Can anyone suggest a reason why it appears to send but never actually arrives in my inbox? Here is the code: Dim mmes as new Mailmessage() Dim strTo as String Dim strFrom as String Dim strSubject as String mmes.To = "adavies@seib.co.uk" mmes.From = "adavies@seib.co.uk" mmes.Subject = "Test Passed" mmes.body = "The Following test was completed by" & session("username") & "" System.Web.Mail.SmtpMail.SmtpServer = "10.0.0.57" System.Web.Mail.SmtpMail.Send(mmes) Quote
Administrators PlausiblyDamp Posted September 8, 2003 Administrators Posted September 8, 2003 What are you using as a mail server? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
jorge Posted September 8, 2003 Posted September 8, 2003 try using a public server Quote Jorge - http://www.blackdot.be/?page=apache.htm
peterdoherty Posted September 15, 2003 Posted September 15, 2003 Is the message still waiting in the pickup directory of the iis mail server? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.