View Full Version : Fill-in "Subject" on Mailto script

07-26-2002, 05:06 AM
This script pops up a mail window and addresses
it to don@abc.com but when I add
+ "?Subject: Attention" it does not fill in
the Subject field.

How can I fill in the Subject field?

Thank you.


function popupMessage() {
var to = "don@abc.com";

// Build mail message components
var doc = "mailto:" + to +"?Subject: Attention"

// Pop UP email message window

window.location = doc;

07-26-2002, 06:04 AM
Is it not ?subject=whatever ??
You have subject:

07-26-2002, 06:16 AM
yes it is,


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum