Email not sending for any task regardless of smtp settings

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
solo2
Registered User
Posts: 9
Joined: Tue May 06, 2014 5:48 am
Name: Stephen Yeoh

Email not sending for any task regardless of smtp settings

Post by solo2 »

Support Request Template
What version of phpBB are you using? phpBB 3.3.12
What is your board's URL? https://forums.solo2.com
Who do you host your board with? Liquidweb
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board? Update from a previous version of phpBB3
Is registration required to reproduce this issue? Yes
Do you have any MODs installed? No
Do you have any extensions installed? No
What version of phpBB3 did you update from? phpBB 3.3.2
What styles do you currently have installed? Prosilver
What language(s) is your board currently using? british english
Which database type/version are you using? MariaDB
What is your level of experience? New to PHP and phpBB
What username can be used to view this issue? No answer given
What password can be used to view this issue? No answer given
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? nothing. This hasn't been working for some time.
Please describe your problem. Using smtp2go. I've tried different email settings (port, verify cert, no user) and also granted IP access but no email is sent. In the log file, this is the error each time. Currently running php 7.7.3 though waiting for an upgrade to 8.3 to see if that helps.

Email error
?? EMAIL/SMTP
/adm/index.php?i=acp_board&sid=0ae2cfb212b72f964b048d2cbbb051de&mode=email

Could not connect to smtp host : 0 :

Errno 2: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol at [ROOT]/includes/functions_messenger.php line 1193<br />
Errno 2: stream_socket_client(): Failed to enable crypto at [ROOT]/includes/functions_messenger.php line 1193<br />
Errno 2: stream_socket_client(): unable to connect to tls://mail.smtp2go.com:80 (Unknown error) at [ROOT]/includes/functions_messenger.php line 1193
Generated by SRT Generator
Thanks.
Stephen
User avatar
warmweer
Jr. Extension Validator
Posts: 11849
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: Email not sending for any task regardless of smtp settings

Post by warmweer »

solo2 wrote: Wed Aug 14, 2024 10:57 pm Currently running php 7.7.3 though waiting for an upgrade to 8.3 to see if that helps.
PHP 7.7.3 never existed so I suspect that's a typo, perhaps 7.1.3 BUT phpBB 3.3.12's minimum requirements state PHP 7.2

added: it seems to be PHP 7.3.3
solo2 wrote: Wed Aug 14, 2024 10:57 pmErrno 2: stream_socket_client(): unable to connect to tls://mail.smtp2go.com:80 (Unknown error) at [ROOT]/includes/functions_messenger.php line 1193
I'm not sure about this (absolutely no mail guru) but since you're using https I suspect there's some extra configuration necessary on the way to use tls:80
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
janus_zonstraal
Registered User
Posts: 6613
Joined: Sat Aug 30, 2014 1:30 pm

Re: Email not sending for any task regardless of smtp settings

Post by janus_zonstraal »

https://www.smtp2go.com/setupguide/phpbb/
Have my doubts about tls:// try it with mail.smtp2go.com
And use port 587 or 465
Also try it with login not plain

But it is easier to use a e-mail address from your own server if that is posible.
Sorry! My English is bat ;) !!!

Return to “[3.3.x] Support Forum”