开发者

Mail is sent successfully, but does not arrive

I use the localhost (127.0.0.1) for sending mail in asp.net with C#. The code runs successfully. The message is displayed that the mail is sent successfully. However, I 开发者_高级运维do not receive any new mail. Could you please help me for that?


Without seeing any code, it's hard to say exactly what's going on. There are two obvious possibilities:

  • Your code to send the mail could be broken, failing to notice errors
  • Your server may not be configured properly to send mail

It's probably worth trying the second idea first. If you use a standalone mail client (e.g. Thunderbird) and set the SMTP server to your ASP.NET server, can you send mail to yourself that way? Have you deliberately set up the server to work properly as an SMTP server?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜