Re: [exim] Saving and/or processing attachments

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jeremy Harris
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Saving and/or processing attachments
On 07/10/13 16:44, Aurelin wrote:
> My customer wants to be able to send an e-mail with an attached image (up to ~2 MB) to have this posted to their website.
> Now what I set up is a router that forwards the e-mail to a pipe and then gets processed by a scrip. In order to transmit the e-mail to the script, I use the $message_body and $message_body variables, but here's my problem: If the attachment is bigger than ~50 KB, those variables will not hold the entire e-mail text and the attachment is broken (due to the attachment being sent as a base64 encoded string).


Woah.  Why?  If you deliver to pipe, the pipe gets the whole mail.
No need to invoke use of $message_body at all.
-- 
Cheers,
    Jeremy