Solved

Creating an outlook-contact using asp.

Posted on 2001-06-24
2
255 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

911 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now