leTo.Text is the recipients' addresses. The mail is sent only when the domain of recipients are the same as that of sender. so I can send email to abc@brio.co.kr, but not to any other address like def@gmail.com.
Any possible reason? It may be not the problem of Lazarus or Synapse. Instead it may come from mail server (in this case webmail.brio.co.kr).
Interesting thing is that I could send email to other addresses in the morning.
Title: Re: Problem in sending email
Post by: egsuh on October 15, 2019, 08:54:55 am
I think I found the reason --- some mail servers require SMTP authentification. So I have to use SendToEx instead of SendTo.