It's All About Me

make them benefit

Cakephp email component bug in godaddy hosting

with one comment

I always prefer to use PhpMailer class to send email as this is enough rich. Few days ago i was working in a cakephp application build. As i found it has email component, i tried to use that to send html email, but i failed. I talked to someone else who worked with this before, he didn’t face any problem. I thought, may be it’s a problem with godaddy hosting. Then  i debugged it step by step, find out the bug and fixed it. Here are the details -

I’ve added the following line on email component at line #500

$this->_createBoundary();

and comment out line #502

// $this->_header[]=”;

Then it works fine for me.

Written by kodegeek

June 22, 2009 at 5:07 am

Posted in CakePhp, Php

Tagged with

One Response

Subscribe to comments with RSS.

  1. [...] more here: Cakephp email component bug in godaddy hosting « :: Code Geek Blog ::   WhatPriceUptimeDiskspaceBandwidthRatingsDetails Starts at $4.95 [...]


Leave a Reply