Re: Question about TIdSMTPRelay

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

"Alexandre" <alexandrepires20…@yahoo.com.br> wrote in message
news:07AACFCC9F2EE340alexandrepires20…@yahoo.com.br...

> 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.

Gambit

Replies

In response to

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