🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #4557

Re: TIdMessage.SaveToFile in '.eml' format

#4557
From: Remy Lebeau (TeamB)
Date: Tue, 25 Jan 2005 08:16
21 lines
1966 bytes
"Ivan" <persik@aktech.ru> wrote in message
news:41f5f9b5$1@newsgroups.borland.com...

> I connect to POP3 server(use TIdPOP3) and then run
> IdPOP3->Retrieve(Number,Message). After that I save the
> message Messsage->SaveToFile(filename) and store filename
> in my database MSSQL. Filename looks like "message.eml".

If you are going to save the message directly to file without any processing
of the message data, then I suggest you set TIdMessage's NoDecode and
NoEncode properties both to true.  Then you will be saving the raw message
data exactly as it was downloaded.  If you do not set those properties, then
TIdMessage will attempt to parse the message data during loading and then
regenerate its own data while saving to file.  You never said which version
of Indy are you actually using, but I am assuming that it is Indy 9 since
that version does not handle today's everly-increasing complex message
formats very well anymore.


Gambit
Technical Details
Message-ID: <41f5ffc8$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!news.glorb.com!fr.ip.ndsoftware.net!grolier!194.74.65.66.MISMATCH!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41f4d4c4$1@newsgroups.borland.com> <41f5f9b5$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,bb2a6cfb7be62e14
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:  <41f4d4c4$1@newsgroups.borland.com> <41f5f9b5$1@newsgroups.borland.com>
Subject: Re: TIdMessage.SaveToFile in '.eml' format
Date: Tue, 25 Jan 2005 00:16:39 -0800
Lines: 23
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: <41f5ffc8$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1106640840 68.69.17.41 (25 Jan 2005 00:14:00 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!news.glorb.com!fr.ip.ndsoftware.net!grolier!194.74.65.66.MISMATCH!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail