Re: Forward Msg with idSmtp

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

"RVysata" <rudolf.vysa…> wrote in message

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



In response to

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