Re: .vcf files and PHP Email Form(Newbie)

From: Date: Sun, 12 May 2002 06:41:15 +0000
Subject: Re: .vcf files and PHP Email Form(Newbie)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-97206@lists.php.net to get a copy of this message
Use any of about 10 billion available MIME mail classes/functions (or write your own; there's really nothing to it) and attach the vcard as content-type: text/x-vcard. miguel On Sun, 12 May 2002 webmaster@tececo.com wrote: > I want to create an e-mail form that writes a (person's name).vcf(vCard) > file and attaches it to the message. This would allow me to eaisly add > people to my address book. > > The source of a sample .vcf(vCard) file is shown below: > BEGIN:VCARD > VERSION:2.1 > N:Harrison;JJ > FN:Harrison, JJ > ORG:TecEco Pty. Ltd.;IT > TITLE:Webmaster > ADR;WORK:;;497 main road Glenorchy;Hobart;Tasmania;7010;Australia > LABEL;WORK;ENCODING=QUOTED-PRINTABLE:497 main road Glenorchy=0D=0AHobart, > Tasmania 7010=0D=0AAustralia > ADR;HOME:;;12 Harbinger Lane Austin's Ferry;Hobart;Tasmania;7011;Australia > LABEL;HOME;ENCODING=QUOTED-PRINTABLE:12 Harbinger Lane Austin's > Ferry=0D=0AHobart, Tasmania 7011=0D=0AAustralia > X-WAB-GENDER:2 > URL;WORK:http://www.tececo.com > EMAIL;PREF;INTERNET:webmaster@tececo.com > REV:20020512T063717Z > END:VCARD > > Does anyone have any ideas or know of a pre-built script to do this? > > Thanks, > > JJ Harrison > webmaster@tececo.com > www.tececo.com > >

« previous php.general (#97206) next »