문제

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?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top