Emailing a vCard

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
gmrobert
Forum Newbie
Posts: 22
Joined: Wed Oct 04, 2006 9:07 am

Emailing a vCard

Post by gmrobert »

I would like to make a form, have users fill in some fields and then press send to have the info sent to us as a vCard so we can add them to our Address Book.

There are some good scripts for vCard and also for EMailing.

The vCard scripts will put the whole vCard into a variable. But most of the Email scripts send files as attachments.

Is there any way I can easily add the vCard variable to an email and still have it as an attachment? My other recourse is to write the vCard to a file and then read it back but this seems like an unnessary step (or maybe not).

Anyone know of a simple way to do the attachment?

Thanks


Greg
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I imagine SwiftMailer could do it, although you may need to add/build a plugin for such attachments. I can't recall right now.
Post Reply