Hello,
I'm trying to send email using synapse.
procedure TEmailForm.Button1Click(Sender: TObject);
begin
if SendTo('info@brio.co.kr', leTo.Text,
leSubject.Text,
'webmail.brio.co.kr',
Memo1.Lines)
then ShowMessage('Mail Sent')
else ShowMessage('Failed');
end;
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.