INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Mailto with subject and body text not working in ASP document

Mailto with subject and body text not working in ASP document

(OP)
The following Javascript code in an Classic ASP page works fine for everyone except a user with a new computer(IE11 and Outlook 2013).

window.location.href="mailto:weshipping;job?subject=" + etext + "&Body=" + bodytext;

It works(opens up new email page) for all computers(one year old) with Outlook 2013 and IE11(same version).
It will work on the new computer if I take out the subject and body text.
I am not sure if it is IE, Outlook, Exchange or what at this point.

Any help would be appreciated.

RE: Mailto with subject and body text not working in ASP document

Outlook uses IE to 'open windows' and browsers will block javascript events and 'pop up' windows instantiated by javascript so maybe that particular machine still has javascript disabled in Outlook.

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

RE: Mailto with subject and body text not working in ASP document

(OP)
Java scripting is enabled in IE. As I mentioned in the original post, the mailto command will work/open a window, if there is nothing in the subject line or body text. As soon as I send a subject line with the command it just sits there and spins. Very frustrating

RE: Mailto with subject and body text not working in ASP document

By the way; This is nothing to do with ASP at all because ASP is a server side operation and what you are trying to do is ALL client-side.

secondly:
Passing subject and body as parameters in mailto: links does not work reliably with every mail client, never has, ... probably never will. And even less reliably when trying to do it with javascript into a HTML window that has nothing at all to do the mail client.


Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close