Hello, I need some help with the PHP Mail function. Well i am trying to get an email template coded within the email so it shows an email within a template etc etc. Well anyway, if someone would be kind enough to show me i would be very grateful. Thanks in advance, Michael.
Why can't you just put the HTML template in the message variable? Also, use the correct headers: $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; ^Borrowed from: PHP.net.