Delphi + Indy: Connection closed gracefully

前端 未结 3 1035
傲寒
傲寒 2021-01-18 02:06

Using D7 + Indy 10 latest build.

My code is using TIdSMTP to send email. I keep getting \"Connection closed gracefully\" at some end-users, and the email is never s

3条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-18 02:44

    In my case the error was caused because I used a sender email address from a different domain than the one hosted by the smtp server, that's why the smtp server rejected the connection.

提交回复
热议问题