|
-
Apr 1st, 2005, 02:36 AM
#1
Thread Starter
Hyperactive Member
copy fields to a new outlook e-mail
Hi,
I am making a website with the following textfields:
-emailaddresses
-subject
-body
When I click a button the fields should be copied to a new Outlook e-mail.
This is because it's for a firm that does everything with outlook and they request perfect integration. (So, no workarounds)
Anybody any experience or ideas on how to do this ?
Thanks in advance.
____________________________________________
Please rate my messages. Thank you!
____________________________________________
Bram Vandenbon
http://www.bramvandenbon.com
-
Apr 1st, 2005, 07:20 AM
#2
Thread Starter
Hyperactive Member
Re: copy fields to a new outlook e-mail
I would just like to add that it should also be able to do attachements.
So I guess that redirecting to a mailto:-hyperlink doesn't do the trick here.
Anybody any suggestions ?
____________________________________________
Please rate my messages. Thank you!
____________________________________________
Bram Vandenbon
http://www.bramvandenbon.com
-
Apr 1st, 2005, 07:48 AM
#3
Retired VBF Adm1nistrator
Re: copy fields to a new outlook e-mail
To do anything complicated on the client-side with applications you'd need an ActiveX control I'd imagine!
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Apr 3rd, 2005, 02:29 PM
#4
Thread Starter
Hyperactive Member
Re: copy fields to a new outlook e-mail
I wrote a small piece of code. It looks like this.
Code:
Outlook.ApplicationClass app = new ApplicationClass();
Outlook.NameSpace nmsp = app.GetNamespace("MAPI");
Object mail = app.CreateItem(OlItemType.olMailItem);
Outlook.MailItemClass mymail = (Outlook.MailItemClass)mail;
mymail.Body = "blablabla";
mymail.To = "[email protected]";
mymail.CC = "[email protected]";
mymail.Display(app);
But I have no idea how to make it work on the client side. Making an activeX-controll in VB6 wouldn't work probably since I can't access the OutlookReference I think.
And ActiveX is dead under .NET isn't it or is it possible to make ActiveX controlls in Visual Studio.NET ?
Or is there a .NET alternative?
____________________________________________
Please rate my messages. Thank you!
____________________________________________
Bram Vandenbon
http://www.bramvandenbon.com
-
Apr 4th, 2005, 05:53 AM
#5
Thread Starter
Hyperactive Member
Re: copy fields to a new outlook e-mail
____________________________________________
Please rate my messages. Thank you!
____________________________________________
Bram Vandenbon
http://www.bramvandenbon.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|