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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Javascript Mailer: Need to HIDE subject & message from SENDER

    Hi Folks,

    My 1st post.

    OK... I have put a Javascript Tell-a-Friend mailer temporarily on this page:

    http://www.wtv-zone.com/PowerTools/F...-specific.html

    I have also placed the page's code in a textarea so anyone here can view the code.

    As the mailer works NOW, when the visitor types in his friend's e-mail address and then submits the form, his e-mail program pops up, and he SEES the EXACT message he'll be sending, including the pre-filled SUBJECT and MESSAGE fields.

    I need to know how to modify the code so that I can STILL have the pre-filled subject and message... but that it NOT be readable when the vistor's (sender's) mail program pops up. I want the subject and the message to show up ONLY to the person to whom the e-mail is sent.

    Nothing underhanded in my motive... I will be using this on one of my game pages. The player will mail HIMSELF clues that will show up in the e-mail... But if the clues show up when his e-mail program is activated there will be no reason for him to actually send the mail to himself... and its important that he actually mails the clues and then leaves the page to go read the e-mailed clues. Make sense?

    Now, if there is a way to do this without having the sender's e-mail program pop up AT ALL that would also solve the problem... but, the result needs to be the recipient e-mail with a pre-filled subject and message, and no need to download as an attachment.

    PLEASE go easy on me. I'm a beginner. Rather than Explain How to do it... I really need to SEE the New Code containing the modifications.

    Feel free to e-mail me regarding this code.

    Thanks!
    Bill

  • #2
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    It is called, use a server side script! You can not do it with JavaScript.

    Eric
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]


  •  

    Posting Permissions

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