procmail
[Top] [All Lists]

Re: about Vcards

1998-07-20 18:03:25
On 20 July 1998, Jacques Gauthier <jacques_g(_at_)yahoo(_dot_)com> wrote:
Does anyone have a small snipet of code to remove vcards ?

If not, anyone know if vcard containing mail always contains this ?:

Content-Type: multipart/mixed;
boundary="------------7DF1D5080B81028EA01CB6C8"

    Every message containing a vcard will have a "Content-Type:
multipart/mixed" and a "boundary", but the value of the boundary may
(and probably will) be different, and other messages without vcard's
might have the same characteristics.  Your best bet is probably to look
for something like

        Content-Type: text/x-vcard

or just to delete everything between

        begin:          vcard
and
        end:            vcard

    Regards,

    Liviu

-- 
Dr. Liviu Daia                   e-mail:   daia(_at_)stoilow(_dot_)imar(_dot_)ro
Institute of Mathematics         web page: http://www.imar.ro/~daia
of the Romanian Academy          PGP key:  finger 
daia(_at_)stoilow(_dot_)imar(_dot_)ro

<Prev in Thread] Current Thread [Next in Thread>