GoteoFoundation / goteo-legacy

Unsupported legacy code for the Crowdfunding Open Source platform Goteo - http://goteo.org/ - Get the new version here: https://github.com/GoteoFoundation/goteo
http://www.goteo.org
Other
234 stars 193 forks source link

SMTP error when new user registration #126

Closed dominick01234 closed 10 years ago

dominick01234 commented 10 years ago

Hello,

I have setup my local-settings for my email server, username, and password with 1&1. I have tested its accuracy using mail client thunderbird. However, goteo is giving an error when trying to send an activation email. Please see detail below. Does anyone know if I need to do more than just modify the local-settings file with the correct mail server information? Do I need to input the info into the class.phpmailer.php file?

Any help would be appreciated. Thank you!

Error: There has been an error when sending the account activation email. Please contact us at wds@mydomain.com Error SMTP: No puedo conectar al servidor SMTP.

Fallo del servidor de correo interno Error SMTP: No puedo conectar al servidor SMTP. Fallo del servidor de correo interno

// Mail define('GOTEO_MAIL_FROM', 'wds@mydomain.com); define('GOTEO_MAIL_NAME', 'mydomain.com'); define('GOTEO_MAIL_TYPE', 'smtp'); // mail, sendmail or smtp define('GOTEO_MAIL_SMTP_AUTH', true); define('GOTEO_MAIL_SMTP_SECURE', 'ssl'); define('GOTEO_MAIL_SMTP_HOST', 'smtp.1and1.com'); define('GOTEO_MAIL_SMTP_PORT', '587'); define('GOTEO_MAIL_SMTP_USERNAME', 'myemail@mydomain.com'); define('GOTEO_MAIL_SMTP_PASSWORD', 'mypassword'

jcanaves commented 10 years ago

Maybe the smtp secure can't be ssl for 1&1, confirm that. Don't know if Thunderbird overlook it.

Try simply with a /contact message. El 13/08/2014 19:23, "dominick01234" notifications@github.com escribió:

Hello,

I have setup my local-settings for my email server, username, and password with 1&1. I have tested its accuracy using mail client thunderbird. However, goteo is giving an error when trying to send an activation email. Please see detail below. Does anyone know if I need to do more than just modify the local-settings file with the correct mail server information? Do I need to input the info into the class.phpmailer.php file?

Any help would be appreciated. Thank you!

Error: There has been an error when sending the account activation email. Please contact us at wds@mydomain.com Error SMTP: No puedo conectar al servidor SMTP.

Fallo del servidor de correo interno Error SMTP: No puedo conectar al servidor SMTP. Fallo del servidor de correo interno

// Mail define('GOTEO_MAIL_FROM', 'wds@mydomain.com); define('GOTEO_MAIL_NAME', 'mydomain.com'); define('GOTEO_MAIL_TYPE', 'smtp'); // mail, sendmail or smtp define('GOTEO_MAIL_SMTP_AUTH', true); define('GOTEO_MAIL_SMTP_SECURE', 'ssl'); define('GOTEO_MAIL_SMTP_HOST', 'smtp.1and1.com'); define('GOTEO_MAIL_SMTP_PORT', '587'); define('GOTEO_MAIL_SMTP_USERNAME', 'myemail@mydomain.com'); define('GOTEO_MAIL_SMTP_PASSWORD', 'mypassword'

— Reply to this email directly or view it on GitHub https://github.com/Goteo/Goteo/issues/126.

dominick01234 commented 10 years ago

Thank you for the quick follow up!

I believe SSL is a requirement for their specifications:

Required InformationIMAPPOP3User nameYour full e-mail address _ex._account@1and1help.comYour full e-mail address _ex._account@1and1help.comIncoming Serverimap.1and1.compop.1and1.comIncoming port with SSL enabled993995Outgoing (SMTP) Serversmtp.1and1.com smtp.1and1.comOutgoing port with TLS enabled587587Outgoing server requires authentication?YesYes Would you agree? Any other thoughts as to why I may be receiving this error when goteo is trying to send an email?

Thx again Wes

On Wednesday, August 13, 2014, Julián Cánaves notifications@github.com wrote:

Maybe the smtp secure can't be ssl for 1&1, confirm that. Don't know if Thunderbird overlook it.

Try simply with a /contact message. El 13/08/2014 19:23, "dominick01234" <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');> escribió:

Hello,

I have setup my local-settings for my email server, username, and password with 1&1. I have tested its accuracy using mail client thunderbird. However, goteo is giving an error when trying to send an activation email. Please see detail below. Does anyone know if I need to do more than just modify the local-settings file with the correct mail server information? Do I need to input the info into the class.phpmailer.php file?

Any help would be appreciated. Thank you!

Error: There has been an error when sending the account activation email. Please contact us at wds@mydomain.com javascript:_e(%7B%7D,'cvml','wds@mydomain.com'); Error SMTP: No puedo conectar al servidor SMTP.

Fallo del servidor de correo interno Error SMTP: No puedo conectar al servidor SMTP. Fallo del servidor de correo interno

// Mail define('GOTEO_MAIL_FROM', 'wds@mydomain.com javascript:_e(%7B%7D,'cvml','wds@mydomain.com');); define('GOTEO_MAIL_NAME', 'mydomain.com'); define('GOTEO_MAIL_TYPE', 'smtp'); // mail, sendmail or smtp define('GOTEO_MAIL_SMTP_AUTH', true); define('GOTEO_MAIL_SMTP_SECURE', 'ssl'); define('GOTEO_MAIL_SMTP_HOST', 'smtp.1and1.com'); define('GOTEO_MAIL_SMTP_PORT', '587'); define('GOTEO_MAIL_SMTP_USERNAME', 'myemail@mydomain.com javascript:_e(%7B%7D,'cvml','myemail@mydomain.com');'); define('GOTEO_MAIL_SMTP_PASSWORD', 'mypassword'

— Reply to this email directly or view it on GitHub https://github.com/Goteo/Goteo/issues/126.

— Reply to this email directly or view it on GitHub https://github.com/Goteo/Goteo/issues/126#issuecomment-52083628.

jcanaves commented 10 years ago

See "port with ssl" is different. Maybe that? El 13/08/2014 20:38, "dominick01234" notifications@github.com escribió:

Thank you for the quick follow up!

I believe SSL is a requirement for their specifications:

Required InformationIMAPPOP3User nameYour full e-mail address _ex._account@1and1help.comYour full e-mail address _ex._account@1and1help.comIncoming Serverimap.1and1.compop.1and1.comIncoming port with SSL enabled993995Outgoing (SMTP) Serversmtp.1and1.com smtp.1and1.comOutgoing port with TLS enabled587587Outgoing server requires authentication?YesYes Would you agree? Any other thoughts as to why I may be receiving this error when goteo is trying to send an email?

Thx again Wes

On Wednesday, August 13, 2014, Julián Cánaves notifications@github.com wrote:

Maybe the smtp secure can't be ssl for 1&1, confirm that. Don't know if Thunderbird overlook it.

Try simply with a /contact message. El 13/08/2014 19:23, "dominick01234" <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');> escribió:

Hello,

I have setup my local-settings for my email server, username, and password with 1&1. I have tested its accuracy using mail client thunderbird. However, goteo is giving an error when trying to send an activation email. Please see detail below. Does anyone know if I need to do more than just modify the local-settings file with the correct mail server information? Do I need to input the info into the class.phpmailer.php file?

Any help would be appreciated. Thank you!

Error: There has been an error when sending the account activation email. Please contact us at wds@mydomain.com javascript:_e(%7B%7D,'cvml','wds@mydomain.com'); Error SMTP: No puedo conectar al servidor SMTP.

Fallo del servidor de correo interno Error SMTP: No puedo conectar al servidor SMTP. Fallo del servidor de correo interno

// Mail define('GOTEO_MAIL_FROM', 'wds@mydomain.com javascript:_e(%7B%7D,'cvml','wds@mydomain.com');); define('GOTEO_MAIL_NAME', 'mydomain.com'); define('GOTEO_MAIL_TYPE', 'smtp'); // mail, sendmail or smtp define('GOTEO_MAIL_SMTP_AUTH', true); define('GOTEO_MAIL_SMTP_SECURE', 'ssl'); define('GOTEO_MAIL_SMTP_HOST', 'smtp.1and1.com'); define('GOTEO_MAIL_SMTP_PORT', '587'); define('GOTEO_MAIL_SMTP_USERNAME', 'myemail@mydomain.com javascript:_e(%7B%7D,'cvml','myemail@mydomain.com');'); define('GOTEO_MAIL_SMTP_PASSWORD', 'mypassword'

— Reply to this email directly or view it on GitHub https://github.com/Goteo/Goteo/issues/126.

— Reply to this email directly or view it on GitHub https://github.com/Goteo/Goteo/issues/126#issuecomment-52083628.

— Reply to this email directly or view it on GitHub https://github.com/Goteo/Goteo/issues/126#issuecomment-52091160.

jcanaves commented 10 years ago

Or use tls instead. El 13/08/2014 20:38, "dominick01234" notifications@github.com escribió:

Thank you for the quick follow up!

I believe SSL is a requirement for their specifications:

Required InformationIMAPPOP3User nameYour full e-mail address _ex._account@1and1help.comYour full e-mail address _ex._account@1and1help.comIncoming Serverimap.1and1.compop.1and1.comIncoming port with SSL enabled993995Outgoing (SMTP) Serversmtp.1and1.com smtp.1and1.comOutgoing port with TLS enabled587587Outgoing server requires authentication?YesYes Would you agree? Any other thoughts as to why I may be receiving this error when goteo is trying to send an email?

Thx again Wes

On Wednesday, August 13, 2014, Julián Cánaves notifications@github.com wrote:

Maybe the smtp secure can't be ssl for 1&1, confirm that. Don't know if Thunderbird overlook it.

Try simply with a /contact message. El 13/08/2014 19:23, "dominick01234" <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');> escribió:

Hello,

I have setup my local-settings for my email server, username, and password with 1&1. I have tested its accuracy using mail client thunderbird. However, goteo is giving an error when trying to send an activation email. Please see detail below. Does anyone know if I need to do more than just modify the local-settings file with the correct mail server information? Do I need to input the info into the class.phpmailer.php file?

Any help would be appreciated. Thank you!

Error: There has been an error when sending the account activation email. Please contact us at wds@mydomain.com javascript:_e(%7B%7D,'cvml','wds@mydomain.com'); Error SMTP: No puedo conectar al servidor SMTP.

Fallo del servidor de correo interno Error SMTP: No puedo conectar al servidor SMTP. Fallo del servidor de correo interno

// Mail define('GOTEO_MAIL_FROM', 'wds@mydomain.com javascript:_e(%7B%7D,'cvml','wds@mydomain.com');); define('GOTEO_MAIL_NAME', 'mydomain.com'); define('GOTEO_MAIL_TYPE', 'smtp'); // mail, sendmail or smtp define('GOTEO_MAIL_SMTP_AUTH', true); define('GOTEO_MAIL_SMTP_SECURE', 'ssl'); define('GOTEO_MAIL_SMTP_HOST', 'smtp.1and1.com'); define('GOTEO_MAIL_SMTP_PORT', '587'); define('GOTEO_MAIL_SMTP_USERNAME', 'myemail@mydomain.com javascript:_e(%7B%7D,'cvml','myemail@mydomain.com');'); define('GOTEO_MAIL_SMTP_PASSWORD', 'mypassword'

— Reply to this email directly or view it on GitHub https://github.com/Goteo/Goteo/issues/126.

— Reply to this email directly or view it on GitHub https://github.com/Goteo/Goteo/issues/126#issuecomment-52083628.

— Reply to this email directly or view it on GitHub https://github.com/Goteo/Goteo/issues/126#issuecomment-52091160.

dominick01234 commented 10 years ago

Yes! That was it! Thank you. Using 'TLS' vs 'SSL' was the issue.

Correction: define('GOTEO_MAIL_SMTP_SECURE', 'TLS');

On Wed, Aug 13, 2014 at 11:41 AM, Julián Cánaves notifications@github.com wrote:

Or use tls instead. El 13/08/2014 20:38, "dominick01234" notifications@github.com escribió:

Thank you for the quick follow up!

I believe SSL is a requirement for their specifications:

Required InformationIMAPPOP3User nameYour full e-mail address _ex._account@1and1help.comYour full e-mail address _ex._account@1and1help.comIncoming Serverimap.1and1.compop.1and1.comIncoming port with SSL enabled993995Outgoing (SMTP) Serversmtp.1and1.com smtp.1and1.comOutgoing port with TLS enabled587587Outgoing server requires authentication?YesYes Would you agree? Any other thoughts as to why I may be receiving this error when goteo is trying to send an email?

Thx again Wes

On Wednesday, August 13, 2014, Julián Cánaves notifications@github.com

wrote:

Maybe the smtp secure can't be ssl for 1&1, confirm that. Don't know if Thunderbird overlook it.

Try simply with a /contact message. El 13/08/2014 19:23, "dominick01234" <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');> escribió:

Hello,

I have setup my local-settings for my email server, username, and password with 1&1. I have tested its accuracy using mail client thunderbird. However, goteo is giving an error when trying to send an activation email. Please see detail below. Does anyone know if I need to do more than just modify the local-settings file with the correct mail server information? Do I need to input the info into the class.phpmailer.php file?

Any help would be appreciated. Thank you!

Error: There has been an error when sending the account activation email. Please contact us at wds@mydomain.com javascript:_e(%7B%7D,'cvml','wds@mydomain.com'); Error SMTP: No puedo conectar al servidor SMTP.

Fallo del servidor de correo interno Error SMTP: No puedo conectar al servidor SMTP. Fallo del servidor de correo interno

// Mail define('GOTEO_MAIL_FROM', 'wds@mydomain.com javascript:_e(%7B%7D,'cvml','wds@mydomain.com');); define('GOTEO_MAIL_NAME', 'mydomain.com'); define('GOTEO_MAIL_TYPE', 'smtp'); // mail, sendmail or smtp define('GOTEO_MAIL_SMTP_AUTH', true); define('GOTEO_MAIL_SMTP_SECURE', 'ssl'); define('GOTEO_MAIL_SMTP_HOST', 'smtp.1and1.com'); define('GOTEO_MAIL_SMTP_PORT', '587'); define('GOTEO_MAIL_SMTP_USERNAME', 'myemail@mydomain.com javascript:_e(%7B%7D,'cvml','myemail@mydomain.com');'); define('GOTEO_MAIL_SMTP_PASSWORD', 'mypassword'

— Reply to this email directly or view it on GitHub https://github.com/Goteo/Goteo/issues/126.

— Reply to this email directly or view it on GitHub https://github.com/Goteo/Goteo/issues/126#issuecomment-52083628.

— Reply to this email directly or view it on GitHub https://github.com/Goteo/Goteo/issues/126#issuecomment-52091160.

— Reply to this email directly or view it on GitHub https://github.com/Goteo/Goteo/issues/126#issuecomment-52091708.