Solved

Creating an outlook-contact using asp.

Posted on 2001-06-24
2
257 Views
Last Modified: 2006-11-17
Hello,

I want to write a script sending an Outlook-Contact (.msg) I create online to a specific e-mail using asp.

I don't want to get a contact from my outlook...I want to create it using ContactItem (or other way) and fill it with data stored in my database.

          10x,
                MotiN.

0
Comment
Question by:MotiN
2 Comments
 
LVL 7

Accepted Solution

by:
CJCraft earned 100 total points
ID: 6222832
This isn't too hard to do at all. But instead of using .msg, I recommend you use vCard .vcf files. This is an open standard that is fully support by Microsoft and most other major vendors. Vcf files are to msg, what htm files are to doc files.

You can save a contact as a vCard vcf format file from inside outlook and then just open it up in Notepad and see how simple it really is. It is not much more than a bunch of name value tag pairs.

Here is a simple sample to give you an idea what is inside a vcf file:

BEGIN:VCARD
FN:Mr. John Q Public
HOME ADDRESS:123 Main Street
WORK ADDRESS:456 Main Street
EMAIL;Internet:jqpublic@domain.com
URL:http://www.jqpublic.com/
REVISION:20010614T075119
VERSION:2.1
END:VCARD

See, nothing to it really. Just make an example contact in outlook that has the options you want and save it as a vcf, and then open it and check out the tags and you can make your own template from there that you will fill in from your database.

You can also go to the Internet Mail Consortium's Web site at http://www.imc.org/ and see the full standard.

I got off the ground with vcf by reading this article:

http://gethelp.devx.com/techtips/asp_pro/10min/10min0201/10min0201.asp

And I use vCard vcf files and vCalendar files on my site at http://www.cjcraft.com/ in the Code Wizards section.

You shouldn't have too much difficulty putting together your application after a quick look through of the above sites.

I hope that helps you,
Chris Craft
0
 

Author Comment

by:MotiN
ID: 6288843
Thanks...you right, it's good enough...   :)
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question