Okay, I give up

I’ve spent way too much time today looking for an email form processor that will take the field data and attach it to an email in vcard format. My clients wants to be able to double click the attachment and have the contact in Outlook. Sounds fair enough and I was hoping it would be easy, but apparently not. I found one script. It’s called aptly enough vCard Mail.

From the description:

* Retrieves the information from a HTML form,
* Translates the specified data into the vCard 2.1 format,
* Sends them to the specified user, along with a vCard as an email attachment.

Absolutely perfect. Exactly what I want. The demo on the site worked so I downloaded it and tried it out.

Only problem is:

# It’s built around a 3 year old Perl version of FormMail, otherwise known as the most insecure way of having an email form on a website. The Perl version of FormMail has been updated in the past year or two to deal with the security holes, but it’s probably not a good idea to use it.
# It doesn’t work. I keep getting a server error, chances are there’s something at the host level that’s missing.

I also tried Forms 2 Go which is a very nice GUI for generating PHP form scripts and I’m using it on standard web forms but it doesn’t do the vCard thing. I searched every depository of PHP and Perl scripts, as well as Googled every combination of “php form email vcard” I could think of. Lots and lots of form handlers, none besides the aforementioned one that will specifically attach a vcard.

Suggestions, anyone?

Update: A great big THANK YOU to Erik Barzeski of NSLog(); who saw my pitiful little plea and came to my rescue. He whipped up a little PHP script for me in about 15 minutes while we chatted that does exactly what I want. Thanks again, Erik! I’ll send you some snow, I’m sure you miss not having some where you live. :-)

About these ads

2 thoughts on “Okay, I give up

  1. I too have been looking for such a tool, but, alas, was unable to find one. So as a burgeoning PHP developer I have set out to create my own. However, at this point, I have been unable to make it work properly. Any chance you could share this script with the rest of us so that we can learn how to do it ourselves?

  2. Pingback: NSLog();

Comments are closed.