Welcome Guest, Not a member yet? Register   Sign In
SMTP
#1

[eluser]PaddyX[/eluser]
I'm getting a lot of emails sent through Codeigniter knocked back as spam. The relevent record on spamhaus.org is:

Quote

86.128.0.0/11 is listed on the Policy Block List (PBL)

Outbound Email Policy of BT Retail for this IP range:

It is the policy of BT Retail that unauthenticated email sent from this IP address should be sent out only via the designated outbound mail server allocated to BT Retail customers. Please consult the following URL for details on how to configure your email client appropriately. http://btybb.custhelp.com/cgi-bin/btybb....faqid=6876

End quote

I don't use a BT account to send emails but this has never caused a problem before. This doesn't happen when the same email is sent through Thunderbird.

The email config file is:

ini_set('SMTP', '******************');
$config['mailtype'] = 'text';
$config['charset'] = 'iso-8859-1';
$config['wordwrap' = TRUE;
$config['wrapchars']= 76;
$config['useragent'] = "CodeIgniter";
$config['protocol'] = 'smtp';
$config['_smtp_auth'] = TRUE;
$config['smtp_host'] = '**********';
$config['smtp_user'] = '**********';
$config['smtp_pass'] = '*********';
$config['smtp_port'] = '25';
$config['smtp_timeout']= '10';
$config['validate'] = FALSE;
$config['priority'] = 3;
$config['newline'] = "\r\n";

$this->email->initialize($config);

I added

$config['_smtp_auth'] = TRUE;
$config['validate'] = FALSE;
$config['priority'] = 3;
$config['newline'] = "\r\n";

To see if that cured the problem. It didn't. Has anybody any idea what is going on?


Messages In This Thread
SMTP - by El Forum - 04-15-2010, 10:14 AM
SMTP - by El Forum - 04-15-2010, 11:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB