Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

'Mailto:' question? is this possible??

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
hi,
when using the mailto: to link to an email address is it possible to include the subjct line??

thanks for your help ...dave.
 
$subject_field = "your subject here"


mail(sendto,
$subject_field,
$body,
"from:$email" );

or something like that..... you get the idea... When in doubt, deny all terms and defnitions.
 
ummm..i kind of wanted to do it where it opens up a new mail message in outlook..i suppose its more just a html thing.
i tried this..but it didnt work..

$subject_field = "your subject here";
echo &quot;<br> <FONT COLOR=\&quot;#0D3395\&quot;><b>Or Email: </b> <A HREF=\&quot;mailto:sales@rumble.com.au\&quot;> &quot;;

....
 
hey, use this:

<A HREF=&quot;mailto:sales@rumble.com.au?subject=Sales Enquiry&quot;>

;)
 
ok thanks heaps..works great. had a bit of trouble at first but worked out that the lack of spaces between the subject and the = is very important.

thanks
dave.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top