Re: Question about TIdSMTPRelay

Giganews Newsgroups
Subject: Re: Question about TIdSMTPRelay
Posted by:  Remy Lebeau \(TeamB\) (
Date: Mon, 23 Jul 2007

"Alexandre" <alexandrepires20…> wrote in message

> I am try sending one email with TIdSMTPRelay.

Why not TIdSMTP?  Unless you are writing your own SMTP server, then you
should stay away from manually relaying messages.  Let your own ISP's email
server handle the relaying for you.

> That is correct ?

Technically yes, provided all the string values are accurate.

> How to know if an error occurred and the message was not delivers

An exception will be raised, just like with everything else in Indy.



In response to

Question about TIdSMTPRelay posted by Alexandre on Sat, 21 Jul 2007