|沙拉德・米什拉:phil.o:您的SMTP服务器应配置一个域(即mydomain.com)的权威。最好选择一个邮件域名是比较有代表性(mydomain.com似乎太多太多的通用的方式)I am getting "Mailbox unavailable. The server response was: 5.4.1 Unable to relay for myemail@mydomain.com" when I try to send the mail using C# code.
Then I tested my smtp server https://www.wormly.com/test_smtp_server".
Here when I enter my smtp server, sender and recipient name. I got followoing message:
MAIL FROM: mymail@mydomain.com
SMTP -> FROM SERVER:
250 2.1.0 Sender OK
RCPT TO: anothermail@mydomain.com
SMTP -> FROM SERVER:
550 5.4.1 Relay Access Denied
SMTP -> ERROR: RCPT not accepted from server: 550 5.4.1 Relay Access Denied
Message sending failed.