How to send a mail message using Indy's smtp server component?

后端 未结 2 1996
野的像风
野的像风 2021-02-20 17:09

Since the demo given in http://www.indyproject.org/Sockets/Demos/index.EN.aspx only saves the received stream to a file, I don\'t know how to effectevely send that stream as a m

2条回答
  •  礼貌的吻别
    2021-02-20 18:01

    A SMTP server component can't send mail - it can only receive it. You need a SMTP client component (TidSMTP) to send mail. A mail server when it sends mail acts like an SMTP client.

提交回复
热议问题