Expression Web
(1)
Outlook 2007
(1)
UNset
(1)
Javascript
(1)
Googlemail
(1)
Webmaster
(1)
Canberra
(1)
Cleaner
(1)

Wrong Email Client is called

Asked By Trevor Lawrence
01-Nov-09 01:52 AM
I should know the answer but I do not

I have a wepage (below) where I have set up an link to send an Email

The code is
Are you a club member who wants to receive the newsletter by email?<br/ >
If so:
(Please include your name)<br />
NOTE: All copies for 2009 are also available.

The function writeem is:

function writeem(ename){
/*********************************************************/
var text = 'Click Here to Email Me';
var subject = 'Response from RATEC site';
var body = 'Please enter your message here';
var eaddr = (ename=='tcl') ? 'tandcl' + '@' + 'homemail' + '.com.au'
'.net'
document.write('<a onmouseover="window.status=\' \';return true;"'
+ 'title=' + text
+ ' href="mailto:' + eaddr
+ '?subject=' + subject
+ '&body=' + body + '">'
+ '<br><span style="color:black; background:#f5f5dc">' + text
+ '</span></a>');
}
/** END writeem **/


When this executes, the Outlook 2007 Startup Wizard starts. I use Outlook
Express, not Outlook 2007, so I do not want this to occur.

I use IE7 and Internet Options | Programs has E-mail set to Outlook Express.

How can I prevent the above code from invoking Outlook 2007 and force it to
use Outlook Express instead?

P.S. I stripped out the Javascript and used this
href="mailto:webmaster@ratec.actbus.net.au?subject=Response from RATEC
site&body=Please enter your message here">Click Here to Email Me</a>

with the same result
--
Trevor Lawrence
Web Site http://ratec.actbus.net

Forget it.I found the answer on microsoft.public.outlookexpress.

Trevor Lawrence replied to Trevor Lawrence
01-Nov-09 01:07 AM
Forget it.

I found the answer on microsoft.public.outlookexpress.general

The answer is of course that the default email client has to be set in
Outlook Express. What is in Internet Explorer is irrelevant.

I have to wonder how OE got this parameter UNset since no-one else uses this
PC but me.

--
Trevor Lawrence
Canberra
Web Site http://trevorl.mvps.org

[snip]

it is possible you never set it in the first place.

Ronx replied to Trevor Lawrence
01-Nov-09 03:18 AM
it is possible you never set it in the first place.  You can go for years
without clicking a mailto link or a mail message that opens an email client.

For users in general,  this is one reason why mailto: links are unreliable.
They will also fail if the user's email is web based (Googlemail, Hotmail
etc) - there is no email client in that situation.

--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.

PS - I would move<span class="red">From Webmaster</span><br />Are you a club

Ronx replied to Trevor Lawrence
01-Nov-09 03:21 AM
PS - I would move

Are you a club member who wants to receive the newsletter by email?<br/ >
If so:

into the javascript - it would look a bit odd if half the sentence were
missing because the user has Javascript turned off for any reason
--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.
Because every update to office and Outlook sets Outlook as the default.
Steve Easton replied to Trevor Lawrence
04-Nov-09 05:09 PM
Because every update to office and Outlook sets Outlook as the default.

I have to set it back every time.

--

Steve Easton
Microsoft MVP Expression Web
FP Cleaner
http://www.95isalive.com/fixes/fpclean.htm
Hit Me FP
http://www.95isalive.com/fixes/HitMeFP.htm
Post Question To EggHeadCafe