Hi, I'm having problem send email using System.Web.Mail, the messages just sit in mailroot/queue folder and is not sent out
I already set up smtp server with relay 127.0.0.1 or localhost
and Im using this code
Is there anything else that I need to setup?Code:Dim mymessage As New MailMessage mymessage.To = "jewel@mymail.com" mymessage.From = "joni@mymail.com" mymessage.Subject = "Password Request" mymessage.Body = "hello" mymessage.BodyFormat = MailFormat.Text SmtpMail.SmtpServer = "127.0.0.1" SmtpMail.Send(mymessage)
Im using xp with IIS 5.1
Thanks,
Jewel


Reply With Quote