S
sampsons
Greetings,
I am using Web.Mail.Mailmessage
along with Web.Mail.SmtpMail.Send(MailMessage) method
Now, this sends Email using the Default SMTP server of my REMOTE HOST.
Sadly I have found that many ISP's block mail sent through this method.
I do have an SMTP server included in the Remote Hosting package,
but that SmtpServer requires authentication of outgoing mail.
If I set the SmtpServer property to my domain's SmtpServer
then the mail is never sent because it is not authenticated
with the username and password of the account I am using
as the MailMessage.To property.
Is there a way to pass the username and password of the
account used to send the message through Web.Mail.SmtpMail.SmtpServer
property??
Thanks in advance,
Severin Sampson
I am using Web.Mail.Mailmessage
along with Web.Mail.SmtpMail.Send(MailMessage) method
Now, this sends Email using the Default SMTP server of my REMOTE HOST.
Sadly I have found that many ISP's block mail sent through this method.
I do have an SMTP server included in the Remote Hosting package,
but that SmtpServer requires authentication of outgoing mail.
If I set the SmtpServer property to my domain's SmtpServer
then the mail is never sent because it is not authenticated
with the username and password of the account I am using
as the MailMessage.To property.
Is there a way to pass the username and password of the
account used to send the message through Web.Mail.SmtpMail.SmtpServer
property??
Thanks in advance,
Severin Sampson