Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Code Behind Mailto

Thread Tools

Code Behind Mailto

Thom Little
Posts: n/a
The following handler when clicked will invoke the e-mail client.
Unfortunately, after the e-mail is sent a blank page is displayed on the

What is the technique for displaying the e-mail client and when the e-mail
is sent control is returned to the invoking webpage? What was your source
for the information?

private void btnComments_Click(object sender, System.EventArgs e)
Response.Redirect( "mailto:Thom Little <(E-Mail Removed)>" );

(Yes this is the code behind equivalent of a simple <a href="mailto...)
(This question was moved over from the webservices newsgroup.)

-- Thom Little -- -- Thom Little Associates, Ltd.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What to do with #<URI::MailTo:0xb762601c> Thomas Gagne Ruby 2 03-15-2013 10:49 AM
Non-code behind to code behind John ASP .Net 2 02-19-2007 07:08 PM
MailTo behind Button - Run at Server - Does not Launch Email Client Larry Rebich ASP .Net 1 11-20-2006 12:49 PM
Mailto in Code behind Joriz ASP .Net 2 10-25-2004 08:53 PM
Re: Code Behind vs. no code behind: error Ben Miller [msft] ASP .Net 1 06-28-2003 01:46 AM