Page 1 of 1

retrieve email/attachment?

Posted: Tue May 18, 2004 10:12 pm
by bsides
Hi All,

I want to be able to retrieve emails from a mail server and NOT retrieve attachments. Is there any way this can be done?

My aim here is to be able to provide a service to our clients whereby we check their mail box(es) and forward any sender/subject/body via SMS (up to 160 chars of course). How can I do this without the overhead of retrieving large attachements?

Does anyone have any suggestions?

The only thing I can think of is limiting the number of lines to get for each email, but I was wondering if anyone knows of a superior approach.

TIA,

Marcus
http://www.pulsesms.com

Posted: Tue May 18, 2004 10:14 pm
by feyd
you can probably parse the stream as it comes in, and stop reading once you get to the attachments. That's the only real way I can see it working.. but I haven't tried that, either way.