Wrong Email Client is called

  • Thread starter Trevor Lawrence
  • Start date
T

Trevor Lawrence

I should know the answer but I don't

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

The code is
<span class="red">From Webmaster</span><br />
Are you a club member who wants to receive the newsletter by email?<br/ >
If so:
<script type="text/javascript">writeem('ratec')</script><br />
(Please include your name)<br />
NOTE: All copies for 2009 are also available.

The function writeem is:

function writeem(ename){
/*********************************************************/
var text = 'Click&nbsp;Here&nbsp;to&nbsp;Email&nbsp;Me';
var subject = 'Response from RATEC site';
var body = 'Please enter your message here';
var eaddr = (ename=='tcl') ? 'tandcl' + '@' + 'homemail' + '.com.au'
: (ename=='ratec') ? 'webmaster' + '@' + 'ratec' + '.actbus' +
'.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 don't 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
<a title=Click&nbsp;Here&nbsp;to&nbsp;Email&nbsp;Me
href="mailto:[email protected]?subject=Response from RATEC
site&body=Please enter your message here">Click Here to Email Me</a>

with the same result
 
T

Trevor Lawrence

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.
 
R

Ronx

It's 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.



Trevor Lawrence said:
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

Trevor Lawrence said:
I should know the answer but I don't

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

The code is [snip]

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

Ronx

PS - I would move

<span class="red">From Webmaster</span><br />
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.
 
S

Steve Easton

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


Trevor Lawrence said:
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

Trevor Lawrence said:
I should know the answer but I don't

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

The code is [snip]

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top