![]()
From: Rev. Bob 'Bob' Crispen (crispen@hiwaay.net)
Date: Sun Feb 11 2001 - 17:16:16 CST
Daniel Stenberg said on Sunday, February 11, 2001 at 2:19:59 PM:
> On Fri, 9 Feb 2001, Potluri Durga wrote:
>> How to identify whether attachement is there or not?
> Where? In a mail?
>> Is there any seperate field for that. If so that is field common among
>> all the Mailservers.
> There's a certain standard called MIME that defines how attachments are sent.
> See RFC2045 and friends.
If you're interested in finding out whether there's an attachment,
*some* mail clients will put a Content-Type: multipart/mixed in the
headers, but some will not. The only way to find it is if you see a
MIME boundary header inside the message body itself. Netscape's mail
and news clients are notorious for this.
-- Rev. Bob "Bob" Crispen crispen at hiwaay dot net The more people I meet, the more I like my dog
![]()