Hi,
SMTP access to personal domain email using Asp.net mvc
I have question for Smtp using my company domain based on outlook.
I tried to setup Smtp using C# but not working..
The error message said "System.Net.Mail.SmtpException: 'Transaction failed. The server response was: 5.2.252 SendAsDenied; sangyong@personaldomain.com not allowed to send as DoNotReply@localhost;"
my Webconfig code is below:
<network host="smtp.live.com" port="587" userName="sangyong@personaldomain.com" password="Password" defaultCredentials="false" enableSsl="true" />
Please tell me which server host should I use it?
I tried to use a lot of server URL, but not working.
smtp-mail.outlook.com
smtp.live.com
I am really frustrated now.
please help.