Article View: borland.public.cppbuilder.internet.socket
Article #2640Re: Saving unmodified mail (raw content)
From: Remy Lebeau (TeamB)
Date: Tue, 28 Feb 2006 00:51
Date: Tue, 28 Feb 2006 00:51
18 lines
1645 bytes
1645 bytes
"Mr. Wuf" <wuf@email.si> wrote in message news:44038552@newsgroups.borland.com... > how do I save the full email raw content to a string or a file? If I > retrieve the email with TIdPOP3 and call SaveToFile(), the mail will > be damaged, because some boundaries are replaced by the component. Set the TIdMessage's NoDecode property to true before downloading, and the NoEncode property to true before saving. Then the file will contain the raw unedited content as-is. Alternatively, use the TIdPOP3's RetreiveRaw() method, which stores the downloaded content into a TStrings. Pass in a TStringList and use its SaveToFile() method. Gambit
Technical Details
Message-ID:
<44039e77$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!txtfeed1.tudelft.nl!tudelft.nl!txtfeed2.tudelft.nl!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!newsfeed.inode.at!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mailReferences:
<44038552@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,559528b37a8eae X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <44038552@newsgroups.borland.com> Subject: Re: Saving unmodified mail (raw content) Date: Mon, 27 Feb 2006 16:51:50 -0800 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <44039e77$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1141087863 68.69.17.41 (27 Feb 2006 16:51:03 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!txtfeed1.tudelft.nl!tudelft.nl!txtfeed2.tudelft.nl!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!newsfeed.inode.at!reader.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail