Re: Forward Msg with idSmtp

Giganews Newsgroups
Subject: Re: Forward Msg with idSmtp
Posted by:  Remy Lebeau \(Indy Team\) (no.spam@no.spam.com)
Date: Thu, 11 Oct 2007

"RVysata" <rudolf.vysa…@creativpuls.at> wrote in message
news:E4F7368DCC38E340rudolf.vysa…@creativpuls.at...

> Using Indy 10.1.5 and Delphi2007

That is a very old version of Indy.  Try upgrading to 10.2.3.

> In the SmtpServer.MsgReceive in some cases i want to
> forward the msg to another Mailserver like this but in lot
> of cases the other mailserver return "501 invalid Command in this state":

There is no way to diagnose that error without seening the actual
commands/replies that are being transmitted.

Where are you sending the message to begin with?  Have you looked at the
TIdSMTPRelay component yet?

Gambit

Replies

In response to

Forward Msg with idSmtp posted by RVysata on Thu, 11 Oct 2007