|Subject:||Re: INDY SMTP|
|Posted by:||Remy Lebeau (Indy Team) (firstname.lastname@example.org)|
|Date:||Wed, 4 Oct 2006|
"Pereberni" <cnssto…@dial.oleane.com> wrote in message
> my server of mail does not accept a message larger than 2Mo.
The MIME specification outlines a "message/partial" content type for exactly
> How to split my message with component INDY smtp
If you are using Indy 10, then you can populate a TIdMessage with your
intended data, then save it to a memory block or file (such as via a
TMemoryStream or TFileStream). Then split that new data as needed, sending
each portion as its own separate message with its "Content-Type" header set
to the appropriate "message/partial" values so that the reciever can
reconstruct the original message correctly when all of the mesage portions
Refer to Section 5.2.2 ("Partial Subtype") of RFC 2046
http://www.ietf.org/rfc/rfc2046.txt) for more details.
INDY SMTP posted by Pereberni on Wed, 4 Oct 2006