Email Message Id

    Date: 08/19/08 (Asp Dot Net)    Keywords: asp, web

    Hello everybody,
    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.
    Using telnet:

    $ telnet yourmailhost.whatever.com 25
    << 220 yourmailhost.whatever.com blah blah
    >> HELO yourclientname
    << 250 yourmailhost.whatever.com Hello [ip address]
    >> mail from:someaddress@hotmail.com
    << 250 2.1.0 yourmailhost.whatever.com ...Sender OK
    >> rcpt to:someaddress@yourmailhost.whatever.com
    << 250 2.1.5 someaddress@yourmailhost.whatever.com
    >> data
    << 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>
    >> quit

    Source: http://aspdotnet.livejournal.com/100129.html

« Using DataRelation in DataSet || Postback question »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home