P
Patrick Hill
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 (e-mail address removed)"
error. here is the code:
Dim msgMail As New MailMessage
msgMail.To = "(e-mail address removed)"
msgMail.From = TextBox1.Text
msgMail.Subject = TextBox2.Text
msgMail.Body = TextBox3.Text
'SmtpMail.Send(msgMail.From.ToString, msgMail.To.ToString,
msgMail.Subject.ToString, msgMail.Body.ToString)
SmtpMail.SmtpServer="daMachine"
SmtpMail.Send(msgMail)
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 (e-mail address removed)"
error. here is the code:
Dim msgMail As New MailMessage
msgMail.To = "(e-mail address removed)"
msgMail.From = TextBox1.Text
msgMail.Subject = TextBox2.Text
msgMail.Body = TextBox3.Text
'SmtpMail.Send(msgMail.From.ToString, msgMail.To.ToString,
msgMail.Subject.ToString, msgMail.Body.ToString)
SmtpMail.SmtpServer="daMachine"
SmtpMail.Send(msgMail)
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