Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Creating an outlook-contact using asp.

Posted on 2001-06-24
2
Medium Priority
?
266 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
CJCraft earned 300 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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 informatio…
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/…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

688 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