Possibly you need breaks? :-)
switch(RqType)
{
case smtpConnect: SMTP-Helo(); break;
case smtpHelo: SMTP-MailFrom(); break;
case smtpEhlo: SMTP-Auth(); break;
case smtpAuth: SMTP-MailFrom(); break;
case smtpMailFrom: SMTP-RcptTo(); break;
case smtpRcptTo:
Paul Ingelbrant wrote:
Possibly you need breaks? :-)
Good point!
However it's hard for the Delphi guys to ;-)
--
Arno Garrels
switch(RqType)
{
case smtpConnect: SMTP-Helo(); break;
case smtpHelo: SMTP-MailFrom(); break;
case smtpEhlo: SMTP-Auth(); break;
case
Ole Braad-Sørensen wrote:
When using above code I get the famous error Component not ready
and the mail-server log show:
You do not check for ErrCode = 0 in OnRequestDone.
Put a break point before or at the switch statement and single-step
thru the code. That will show you what's wrong.
--