|
|
|
date: Mon, 8 Sep 2008 12:34:21 -0700,
group: microsoft.public.vstudio.development
back
Re: Open local email client from web site
Thanks. I'll give it a try.
This is for an internal web site. Eventually, when I have more time, my
users will have to authenticate to the form using their AD account. I'll
then be able to use their logon name to generate their email address, have a
drop-down list to select a recipient, and use the web server to send an email
via smtp.
For now though, using an external client seems like the easiest thing to do.
"Norman Yuan" wrote:
> In this case, the email program is run at web client side. If the email
> address is fixed, you can simply use <a href=mailto:....>....</a>. If you
> want to dynamically set the email address, subject and even initialize the
> email's body, you need to emit client side javascript code to get the
> "mailto:..." set up in the corresponding client side click.
>
> I found a useful article on the javascript that generate a "mailto:..."
> link. You only need to emit the similar javascript code from your ASP.NET
> server side code.
>
> http://www.webmasterworld.com/javascript/3290040.htm
>
> HTH
>
>
> "chucky" wrote in message
> news:0D3B6732-0B15-4AB8-B32F-74B73D6D3A1E@microsoft.com...
> > How can I open a new email message with the user's default email client
> > when
> > I click on a button on my web page ? This would be using VB.
> >
> > I also need to pass some information from the current page (in a
> > System.UI.WebControl.Table control) to the email message.
>
>
date: Tue, 9 Sep 2008 06:01:01 -0700
author: chucky
|
|