Thread: mailto: Script
Results 1 to 3 of 3
06-08-2006, 01:47 PM #1
Hi, I am Trying to get a hyperlink in mailto to connect but I think it is a ? in my link that I want to send to a email. Everything will show up except from the ? on. Is it a way around it. So the link is not complete but if I take out the ? everything shows up. For instance http://www1.va.gov/pugetsound/page.cfm?pg=334, everything shows up in the email but, from the ?pg=334.
Last edited by HTML; 03-16-2007 at 11:05 AM.
05-15-2007, 03:36 PM #2
05-25-2007, 03:58 AM #3
Re: mailto: Script
PHP code to send a mail...
<html > <head> <title>Untitled Document</title> </head> <body> <?php ini_set('SMTP','192.168.100.1'); $to = "email@example.com"; $subject = "test mail"; $body ="Hello"; $headers= "From: firstname.lastname@example.org \n"; if(mail($to,$subject,$body,$headers)) echo("Mail Sent"); else echo("Mail not sent"); ?> </body> </html>
Last edited by vinyl-junkie; 05-27-2007 at 01:09 AM. Reason: Added code tags