...

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



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



<script>

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;
}
</script>

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

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

mailto="YourEmail@whatever.com?subject=Subject"



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum