Hello,
I have a web form that is a email page. When the user fills out the form and
clicks send there is a "The server rejected one or more recipient addresses.
The server response was: 550 5.7.1 Unable to relay for PatrickHill@aol .com"
error. here is the code:
Dim msgMail As New MailMessage
msgMail.To = "PatrickHill@ao l.com"
msgMail.From = TextBox1.Text
msgMail.Subject = TextBox2.Text
msgMail.Body = TextBox3.Text
'SmtpMail.Send( msgMail.From.To String, msgMail.To.ToSt ring,
msgMail.Subject .ToString, msgMail.Body.To String)
SmtpMail.SmtpSe rver="daMachine "
SmtpMail.Send(m sgMail)
Now my SMTP server is the Virtual SMTP server that comes with iis is that
the problem? Do I have to set anything else up in IIS? What do I have to
do to get this puppy to work? Thanks
I have a web form that is a email page. When the user fills out the form and
clicks send there is a "The server rejected one or more recipient addresses.
The server response was: 550 5.7.1 Unable to relay for PatrickHill@aol .com"
error. here is the code:
Dim msgMail As New MailMessage
msgMail.To = "PatrickHill@ao l.com"
msgMail.From = TextBox1.Text
msgMail.Subject = TextBox2.Text
msgMail.Body = TextBox3.Text
'SmtpMail.Send( msgMail.From.To String, msgMail.To.ToSt ring,
msgMail.Subject .ToString, msgMail.Body.To String)
SmtpMail.SmtpSe rver="daMachine "
SmtpMail.Send(m sgMail)
Now my SMTP server is the Virtual SMTP server that comes with iis is that
the problem? Do I have to set anything else up in IIS? What do I have to
do to get this puppy to work? Thanks