Error with a newsletter form |
[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 Any help please? It would be very very appreciated! Thanks!
[eluser]steelaz[/eluser]
Well... it says right there at the top - "unable to connect to auth.smtp.1and1.fr:465". Check your configuration.
[eluser]ludovic_r[/eluser]
Mh I'll go check it but in my local server it works perfectly :/
[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!
[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.
[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 got some fixes? |
Welcome Guest, Not a member yet? Register Sign In |