Re: [exim] get email status (C,C++)

Top Page
Delete this message
Reply to this message
Author: Dave Evans
Date:  
To: exim-users
Subject: Re: [exim] get email status (C,C++)
On Mon, Jul 13, 2009 at 01:11:14AM +0300, Dmitry Baryshev wrote:
> Hi.
>
> I use exim4 in Debian Lenny and jwsmtp library as a SMTP client. When
> I try to send a email with non-existent "from" email address, exim
> answers 250 OK <HASH>, but don't actually send this email (I believe
> that "from" email address is bad). How can I determine
> programmatically (C or C++) that exim4 didn't actually send this
> email? With SMTP calls to exim, exim configuration or something?
> Thanks!


By "250 OK <HASH>" do you mean that's the response you get back from the
end-of-data "." command? If so, then exim has accepted the message, and
"<HASH>" as you call it is actually the exim message ID. Go look for that ID
in the exim logs to find out what happened to the message.

--
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey