04-26-2012, 05:32 PM
[eluser]landitus[/eluser]
Hi, I've been sending an activation email after a form submit and every time the email I get shows exactly this:
As you can see it's like the headers are all over the place. I tried setting the email as plain and html, but it's the same. I'm testing this locally, with MAMP and sending with gmail (SMTP).
This is my email config:
What can I do?
Hi, I've been sending an activation email after a form submit and every time the email I get shows exactly this:
Code:
Reply-To: "[email protected]" <[email protected]>
X-Sender: [email protected]
X-Mailer: CodeIgniter
X-Priority: 3 (Normal)
Message-ID: <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Date: Thu, 26 Apr 2012 21:12:28 -0300 (ART)
Click the link below to activate your account<a
href="http://www.url.com/confirm/3b80246747e8d30e82269233b7a08f26/">Confirm</a>
As you can see it's like the headers are all over the place. I tried setting the email as plain and html, but it's the same. I'm testing this locally, with MAMP and sending with gmail (SMTP).
This is my email config:
Code:
$config['protocol'] = 'smtp';
$config['smtp_host'] = 'ssl://smtp.gmail.com';
$config['smtp_port'] = 465;
$config['smtp_timeout']='30';
$config['smtp_user'] = '[email protected]';
$config['smtp_pass'] = 'xxxxxxxx';
$config['mailtype'] = 'text';
$config['charset'] = 'utf-8';
$config['crlf'] = "\r\n";
$config['newline'] = "\r\n";
What can I do?