473,408 Members | 2,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Outlook

I have a C# ASP.NET webform that has a linkbutton control wherein if the user
clicks it, it should open up Microsoft Outlook as a separate window with the
To: edit box filled in with an email address. The user should be able to send
an email. How do I go about doing this?
Nov 17 '05 #1
3 1449
use mailto:th*@email.com structure in linkbutton link field

--
Tamir Khason
"The computer is no better
than its program." [Elting Elmore Morison]
http://www.dotnet.us/

"Newbie" <Ne****@discussions.microsoft.com> wrote in message
news:79**********************************@microsof t.com...
I have a C# ASP.NET webform that has a linkbutton control wherein if the
user
clicks it, it should open up Microsoft Outlook as a separate window with
the
To: edit box filled in with an email address. The user should be able to
send
an email. How do I go about doing this?

Nov 17 '05 #2
Or use COM interop to be sure you are using MS Outlook (when it is not the
default mail handler) :-)

"Tamir Khason" <ta***@removeme.khason.biz> wrote in message
news:uz**************@TK2MSFTNGP09.phx.gbl...
use mailto:th*@email.com structure in linkbutton link field

--
Tamir Khason
"The computer is no better
than its program." [Elting Elmore Morison]
http://www.dotnet.us/

"Newbie" <Ne****@discussions.microsoft.com> wrote in message
news:79**********************************@microsof t.com...
I have a C# ASP.NET webform that has a linkbutton control wherein if the
user
clicks it, it should open up Microsoft Outlook as a separate window with
the
To: edit box filled in with an email address. The user should be able to
send
an email. How do I go about doing this?


Nov 17 '05 #3
Tamir,

Can u pls. elaborate. I was looking at the linkbutton properties and didnt
find a structure or link field property. I also added mailto:th*@email.com in
the message handler lbtnMyButton_Click(object sender, System.EventArgs e) but
its not building.

"Tamir Khason" wrote:
use mailto:th*@email.com structure in linkbutton link field

--
Tamir Khason
"The computer is no better
than its program." [Elting Elmore Morison]
http://www.dotnet.us/

"Newbie" <Ne****@discussions.microsoft.com> wrote in message
news:79**********************************@microsof t.com...
I have a C# ASP.NET webform that has a linkbutton control wherein if the
user
clicks it, it should open up Microsoft Outlook as a separate window with
the
To: edit box filled in with an email address. The user should be able to
send
an email. How do I go about doing this?


Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Fritz Switzer | last post by:
Can anyone provide a small snippet in C# that pulls out the Contacts in Outlook XP. I've seen a couple of examples in C++ and VB in previous newsgroup posts, but either the originals didn't work...
10
by: John | last post by:
Hi When I open a new outlook email from vb.net, sometimes outlook is very slow to appear or occasionally outlook freezes completely. I am targeting mixed office2000/xp environments so I am...
9
by: Srinivas | last post by:
hi all how to access the outlook user profiles through VB.net any help.... thanks in advanc Srinivas
9
by: George McCullen | last post by:
I have an Outlook 2003 using Exchange Server 2003 Public Contacts Folder containing 20,000 Contacts. I am writing a VB .Net 2003 program that loops through all the contacts in a "for each oCt in...
3
by: John | last post by:
Hi I am trying to access outlook contacts folders and delete the contacts that do not contain a certain category value in the categories field. I have written the below code but am stuck with...
7
by: Chris Thunell | last post by:
I'm trying to loop through an exchange public folder contact list, get some information out of each item, and then put it into a vb.net datatable. I run though the code and all works fine until i...
8
by: Li Pang | last post by:
Hi, I used following codes to pass a message item from CDO to Outlook. They worked fine when I used outlook 2000, but get an error of "Specified cast is not valid." when I used Outlook 2003....
3
by: wizzbangca | last post by:
Hi everyone. Having problems with a utility I am writing for work. The previous IT Director thoughtfully allowed 3 (2000, xp, 2003) versions of outlook to be installed rather than 1. Now I need...
2
by: JC | last post by:
Anybody knows what problem has this code? I think, in the Garbage Collector? You know the Solution? The program in the test's case, whit 350 contacts, run OK before number 86. The error is a...
4
by: Brian Hampson | last post by:
I recently upgraded to Outlook 2007 B2TR and have found that I can no longer code against MAPI.DLL It's gone :( Using C#, I used to get the MAPI session, and from that I could change the out of...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.