I have an app / site works with Craigslist.

But I noticed no emails are being read to anything sent to a Craigslist
email address.

 

I read that Craigslist has an issue with setting the correct email header
but does not say what that is.

 

Snip of code, some content

 

App::uses('CakeEmail', 'Network/Email');

 

                                $email = new CakeEmail($account);

                                //$email -> setHeaders(array('X-Mailer' =>
'???'));

                                $email -> to($data['email']);

                                $email -> subject('Reply to your ad');

                                $email -> template('ad_response',
'default');

                                $email -> emailFormat('html');

                                $email -> viewVars(array('data' => $data));

                                $email->send();

 

When tested sending any non-craigslist email [email protected] everything
works fine. So the emails are getting sent out but I need to figure out the
correct header for emails going to Craigslist.

 

Any insight would be great.

 

Thanks

 

Dave 

 

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to