Is there a way here to get email message Id right after you send it with the SMPT client?
I am creating a web application on ASP.NET 2.0 and it uses mail server EXIM to send emails.
Message Id I mean that unique identifier, which is being set when you send an email.
$ telnet yourmailhost.whatever.com 25
<< 220 yourmailhost.whatever.com blah blah
>> HELO yourclientname
<< 250 yourmailhost.whatever.com Hello [ip address]
>> mail from:firstname.lastname@example.org
<< 250 2.1.0 yourmailhost.whatever.com ...Sender OK
>> rcpt to:email@example.com
<< 250 2.1.5 firstname.lastname@example.org
<< 354 Please start mail input.
>> Subject: Test message
>> This is a test...
>> Testing 1-2-3
<< 250 Mail queued for delivery. MessageId<K5SHTQ-0004Q0-0E>