Hi,
Can anyone tell me what i am doing wrong in my php code. When the MIME email gets sent out after completing a form, the email address does not show as specified in the header. Is this perhaps a server config issue or something with my code:
Herewith the first part of my php code:
<?php
$to_email = $_REQUEST["contactEmail"];
$subject = 'Brochure';
$headers = "From:test@campaigns.co.uk\r\n";
$headers .= "Reply-To:test@campaigns.co.uk\r\n";
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
Thank you.