-
send email smtp setup
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
Code:
Dim mymessage As New MailMessage
mymessage.To = "[email protected]"
mymessage.From = "[email protected]"
mymessage.Subject = "Password Request"
mymessage.Body = "hello"
mymessage.BodyFormat = MailFormat.Text
SmtpMail.SmtpServer = "127.0.0.1"
SmtpMail.Send(mymessage)
Is there anything else that I need to setup?
Im using xp with IIS 5.1
Thanks,
Jewel