View Single Post
Old 02-11-2013, 01:58 AM   PM User | #1
Eddie_E
New Coder

 
Join Date: May 2008
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Eddie_E is an unknown quantity at this point
Adding an image on my copy email

Hi, I have a form which allows the user to tick a checkbox and have a copy sent back to them. This all functions well but I would like to add my logo to this response. I have tried adding the img to the message but this just displays the URL not the image, how do I edit this?

PHP Code:
$messageproper ="\n\n" .
"Name: " .
ucwords($_POST['name']) .
"\n" .
"Email: " .
ucwords($email) .
"\n" 
"Type: " .
ucwords($_POST['type']) .
"\n" .
"Comments: " .
$_POST['message'] .
"\n\n\n\n\n\n\n" .
'<img src="http://www.begraphics.com/images/signature.jpg">' 
"\n\n" ;

$messageproper trim(stripslashes($messageproper));

mail($mailto$subject$messageproper"From: \"$vname\" <".$_POST['email'].">\nReply-To: \"".ucwords($_POST['name'])."\" <".$_POST['email'].">\nX-Mailer: PHP/" phpversion() );

if( 
$selfcopy == "yes" )
mail($email$subject$messageproper"From: \"$vnamereply\" <".$_POST['email'].">\nReply-To: \"".ucwords($_POST['name'])."\" <".$_POST['email'].">" ); 
Many thanks

Eddie
Eddie_E is offline   Reply With Quote