Reputation: 3301
Hi I have a problem with my script sending emails out. It turns out that my host has a spam blocking filter called barracuda and that any emails @yahoo.com domain gets blocked. How can I get around this?
Here is my email code:
$config['wordwrap'] = FALSE;
$config['mailtype'] = 'html';
$this->email->initialize($config);
$a=$this->load->view('cart/email',$data,true);
$this->email->from($data['email'], $data['fname'].' '.$data['lname']);
$this->email->to('[email protected]');
$this->email->subject('Your Order');
$this->email->message($a);
$this->email->send();
echo $this->email->print_debugger();
Upvotes: 0
Views: 708
Reputation: 9351
If that is a hosting issue, there is not much we can do about it. You can use a different and more reliable SMTP provider, such as Mandrill
. It works great and has an extremely easy API.
Upvotes: 1