Welcome Guest, Not a member yet? Register   Sign In
Error with a newsletter form
#1

[eluser]ludovic_r[/eluser]
Hi !

I've made a newsletter form with Ci which store data in my database and so on. Everything work fine until here but when I put a mail in the mail field I've got some errors.

On a localhost it works perfectly (no errors) but online (on 1and1) it doesn't work !

go on : http://www.feed-tastic.com , put a valid mail and press submit and you'll see the errors Sad

Any help please? It would be very very appreciated! Thanks!
#2

[eluser]steelaz[/eluser]
Well... it says right there at the top - "unable to connect to auth.smtp.1and1.fr:465". Check your configuration.
#3

[eluser]ludovic_r[/eluser]
Mh I'll go check it but in my local server it works perfectly :/
#4

[eluser]ludovic_r[/eluser]
I've checked my config and everything seem to be okay, I've heard something about SSL in php.ini to activate, any idea ?

Many thanks!
#5

[eluser]steelaz[/eluser]
Take a look at this thread - http://forum.listmailpro.com/viewtopic.php?p=7244, it seems your host might be blocking SMTP access from it's own servers.
#6

[eluser]ludovic_r[/eluser]
Mh, I've tried with gmail account with these settings :

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');


$config['protocol'] = 'smtp';
$config['smtp_host'] = 'ssl://smtp.gmail.com';
$config['smtp_port'] = 587;
$config['smtp_user'] = 'xxx';
$config['smtp_pass'] = 'xxx';

$config['mailtype'] = 'html';
$config['charset'] = 'iso-8859-1';


Again the same errors Sad got some fixes?




Theme © iAndrew 2016 - Forum software by © MyBB