🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Indy 8.0 TIdSmptServer

#4691
From: Remy Lebeau (TeamB)
Date: Mon, 03 Jan 2005 21:13
20 lines
1748 bytes
"Frans" <invalid@wanadoo.nl> wrote in message
news:41d9aeb2$1@newsgroups.borland.com...

> I can receive emails now, and store them on disk. But
> what I actually want is save attachements to disk, which
> are in those received emails.

Indy 9 already stores all received attachments to temp files on disk
automatically.

> Only the reverse way i don't, jet, understand.

You have not read the Indy 9 documentation yet, have you?  TIdMessage has a
MessageParts collection.  It contains TIdAttachment and TIdText instances.
TIdAttachment has a SaveToFile() method, which copies the temp file to the
specified location.


Gambit
Technical Details
Message-ID: <41d9b514@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!npeer.de.kpn-eurorings.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41d950fd@newsgroups.borland.com> <41d98fde$1@newsgroups.borland.com> <41d9aeb2$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,7edc2c9797771d27
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: <41d950fd@newsgroups.borland.com> <41d98fde$1@newsgroups.borland.com> <41d9aeb2$1@newsgroups.borland.com>
Subject: Re: Indy 8.0 TIdSmptServer
Date: Mon, 3 Jan 2005 13:13:18 -0800
Lines: 22
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: <41d9b514@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1104786708 68.69.17.41 (3 Jan 2005 13:11:48 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!npeer.de.kpn-eurorings.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail