Would like to include a pre-defined subject when user presses mailto: link

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Jacho
    Corporal

    • Oct 2007
    • 13

    Would like to include a pre-defined subject when user presses mailto: link

    Hi

    When i link some text to the "mailto:" link, i would like to pre-write a "Subject" so that when the user emails me, they wont need to write the subject in, it will already be there. (Similar to the $mailsubj = "xxx"; in a form) ?

    I have included the HTML of the line that I would like to add to. The subject that i would like to include would be "More info on the 3rd year schedule". How would the HTML look if i had to add this in?

    <font style="font-size:13px" color="#000000" face="Arial"><a href="mailto:info@mcpbm.com">Click here</a> to ask me more</font>

    Many Thanks
  • Watdaflip
    Major General

    • Sep 2005
    • 2116

    #2
    Re: Would like to include a pre-defined subject when user presses mailto: link

    Change
    Code:
    <a href="mailto:info@mcpbm.com">Click here</a>
    to
    Code:
    <a href="mailto:info@mcpbm.com?subject=More info on the 3rd year schedule">Click here</a>

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

    Comment

    • Jacho
      Corporal

      • Oct 2007
      • 13

      #3
      Re: Would like to include a pre-defined subject when user presses mailto: link

      thank you. much appreciated.
      works like a charm :)

      Comment

      Working...
      X