vcf file email

  • Thread starter Thread starter a_nona_mouse
  • Start date Start date
A

a_nona_mouse

Hi there

currently I have built a webpage that emails info to a user and just
trying to send the file as an attachment so it can be saved directly
into the users contacts.

I have managed to get to receiving it as text.. but am now stuck.. any
help / or pointers would be great.

currently the text looks like >

BEGIN:VCARD
VERSION:2.1
N:XXXX;TXT
FN:XXXX TXT
ORG:123456555£ 44123123123
NOTE;ENCODING=QUOTED-PRINTABLE:This is a test from the WEB servers.
For more information on this and other services offered see
www.XXX.com
TEL;CELL;VOICE:44123123123
ADR;POSTAL;ENCODING=QUOTED-PRINTABLE::123456555£ TXT test example
LABEL;POSTAL;ENCODING=QUOTED-PRINTABLE:123456555£=OD=12 HOUSE
ABC=0D=0ABOURNEMOUTH=0D=0ADORSET, info from TXT=0D=0AUnited Kingdom
URL;HOME:http://www.xxx.com/
EMAIL;PREF;INTERNET:[email protected]
REV:20040324T113911Z
END:VCARD

but it doesn't translate into a card, I have tried word what is the
best editor? notepad?
one thing that isn't saved is the address when imported to outlook..
have I done it correctly above?


cheers

Alex
 
This isn't really an Outlook question at all. You need to consult the
documentation for the mail server that your web server is using to learn how
to create multipart messages. The vCard part will look like this:

Content-Type: text/x-vcard;
name="Alex Someone.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="Alex Someone.vcf"

BEGIN:VCARD
VERSION:2.1
N:XXXX;TXT
FN:XXXX TXT
ORG:123456555£ 44123123123
NOTE;ENCODING=QUOTED-PRINTABLE:This is a test from the WEB servers.
For more information on this and other services offered see
www.XXX.com
TEL;CELL;VOICE:44123123123
ADR;POSTAL;ENCODING=QUOTED-PRINTABLE::123456555£ TXT test example
LABEL;POSTAL;ENCODING=QUOTED-PRINTABLE:123456555£=OD=12 HOUSE
ABC=0D=0ABOURNEMOUTH=0D=0ADORSET, info from TXT=0D=0AUnited Kingdom
URL;HOME:http://www.xxx.com/
EMAIL;PREF;INTERNET:[email protected]
REV:20040324T113911Z
END:VCARD
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top