Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jul 2002
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Fill-in "Subject" on Mailto script

    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>

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Posts
    166
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Is it not ?subject=whatever ??
    You have subject:

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    FL, USA
    Posts
    734
    Thanks
    0
    Thanked 0 Times in 0 Posts
    yes it is,

    mailto="YourEmail@whatever.com?subject=Subject"
    CYWebmaster.com - See why we dot com!!
    ACJavascripts.com - Cut & Paste Javascripts!
    SimplyProgram.com - Personal Blog


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •