Z
z f
Hi,
i'm sending mail from the aspx page on the server.
it is running on hosting,
so i configure the System.Web.Mail.SmtpMail.SmtpServer property to my mail
server.
but problem is that sender email is also configurable and since the sender
email is not from the SMTP server same host, it is not allows to send.
i need to ba able to configure the SMTP Auth to be authenticated to
different user from the sender email, but i didn't find methods for that in
the object.
what should be the way?
might i be able to use the MailMessage Headers property for that?
The Error
The server rejected one or more recipient addresses. The server response
was: 550 You must check your mail from this IP or SMTP Auth before sending
to (e-mail address removed)
TIA, z.
i'm sending mail from the aspx page on the server.
it is running on hosting,
so i configure the System.Web.Mail.SmtpMail.SmtpServer property to my mail
server.
but problem is that sender email is also configurable and since the sender
email is not from the SMTP server same host, it is not allows to send.
i need to ba able to configure the SMTP Auth to be authenticated to
different user from the sender email, but i didn't find methods for that in
the object.
what should be the way?
might i be able to use the MailMessage Headers property for that?
The Error
The server rejected one or more recipient addresses. The server response
was: 550 You must check your mail from this IP or SMTP Auth before sending
to (e-mail address removed)
TIA, z.