简体   繁体   English

Codeigniter电子邮件不断被阻止

[英]codeigniter email keeps getting blocked

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. 事实证明,我的主机有一个名为barracuda的垃圾邮件阻止筛选器,所有@ yahoo.com电子邮件域都被阻止了。 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('order@abc.ca'); 
$this->email->subject('Your Order');
$this->email->message($a);  
$this->email->send();
  echo $this->email->print_debugger();

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 . 您可以使用其他更可靠的SMTP提供程序,例如Mandrill It works great and has an extremely easy API. 它的工作原理很棒,并且具有非常简单的API。

http://mandrill.com/ http://mandrill.com/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM