SMTP Email Sending

前端 未结 2 795
迷失自我
迷失自我 2021-02-14 00:19

No connection could be made because the target machine actively refused it 127.0.0.1:25 Description: An unhandled exception occurred during the execution of the current web requ

2条回答
  •  星月不相逢
    2021-02-14 00:59

    You forgot to start your SMTP server on that machine

    Please don't tell you don't have a SMTP server on that machine. But, if you have to tell that, refer to this page and this page also

    Even if you configure the local SMTP server, your emails are most likely to end up in spam folder. Better use the SMTP server of your email provider. If you are using Gmail, have a look at here

提交回复
热议问题