Email error » EMAIL/SMTP (want to use Email delivery service)

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
ibnehabib
Registered User
Posts: 8
Joined: Sat Aug 11, 2018 12:30 pm
Name: ibnehabib
Contact:

Email error » EMAIL/SMTP (want to use Email delivery service)

Post by ibnehabib » Sat Aug 11, 2018 1:00 pm

I am trying to configure SMTP email setting to use email delivery service Sparkpost.com but it i not working.
I have tried send email button, send message to member etc but receiving the same error.

Error log

When i use send email button
Email error
» EMAIL/SMTP
/adm/index.php

Could not connect to smtp host : 111 : Connection refused

Errno 2: stream_socket_client(): unable to connect to smtp.sparkpostmail.com:587 (Connection refused) at [ROOT]/includes/functions_messenger.php line 1122
when i use Send email to admin/member
Email error
» EMAIL/SMTP
/memberlist.php

Could not connect to smtp host : 111 : Connection refused

Errno 2: stream_socket_client(): unable to connect to smtp.sparkpostmail.com:587 (Connection refused) at [ROOT]/includes/functions_messenger.php line 1122
email error.JPG
email setting

Please advise what I am doing wrong.

User avatar
John connor
Registered User
Posts: 1728
Joined: Fri Nov 14, 2014 5:14 pm
Location: U S Of A
Contact:

Re: Email error » EMAIL/SMTP (want to use Email delivery service)

Post by John connor » Sat Aug 11, 2018 4:54 pm

Does the email host use TLS/SSL?

User avatar
Noxwizard
Support Team Leader
Support Team Leader
Posts: 10307
Joined: Mon Jun 27, 2005 8:41 pm
Location: Texas, USA
Name: Patrick Webster
Contact:

Re: Email error » EMAIL/SMTP (want to use Email delivery service)

Post by Noxwizard » Sat Aug 11, 2018 4:55 pm

Try setting your SMTP server address to tls://smtp.sparkpostmail.com
[Support Template] - [Read Before Posting] - [phpBB Knowledge Base]
Do not contact me for private support, please share the question in our forums.

User avatar
John connor
Registered User
Posts: 1728
Joined: Fri Nov 14, 2014 5:14 pm
Location: U S Of A
Contact:

Re: Email error » EMAIL/SMTP (want to use Email delivery service)

Post by John connor » Sat Aug 11, 2018 4:56 pm

I guess I could have straight up said that. :lol:

Port might need to be changed as well.

ibnehabib
Registered User
Posts: 8
Joined: Sat Aug 11, 2018 12:30 pm
Name: ibnehabib
Contact:

Re: Email error » EMAIL/SMTP (want to use Email delivery service)

Post by ibnehabib » Sat Aug 11, 2018 8:14 pm

John connor wrote:
Sat Aug 11, 2018 4:54 pm
Does the email host use TLS/SSL?
Email host uses TLS and I tried thl://hostname.com

ibnehabib
Registered User
Posts: 8
Joined: Sat Aug 11, 2018 12:30 pm
Name: ibnehabib
Contact:

Re: Email error » EMAIL/SMTP (want to use Email delivery service)

Post by ibnehabib » Sat Aug 11, 2018 8:15 pm

Noxwizard wrote:
Sat Aug 11, 2018 4:55 pm
Try setting your SMTP server address to tls://smtp.sparkpostmail.com
Yes, I have tried so too but same error.

ibnehabib
Registered User
Posts: 8
Joined: Sat Aug 11, 2018 12:30 pm
Name: ibnehabib
Contact:

Re: Email error » EMAIL/SMTP (want to use Email delivery service)

Post by ibnehabib » Sat Aug 11, 2018 8:18 pm

John connor wrote:
Sat Aug 11, 2018 4:56 pm
I guess I could have straight up said that. :lol:

Port might need to be changed as well.
Thanks, I have changed an alternate post to 2525 but same error.

User avatar
Noxwizard
Support Team Leader
Support Team Leader
Posts: 10307
Joined: Mon Jun 27, 2005 8:41 pm
Location: Texas, USA
Name: Patrick Webster
Contact:

Re: Email error » EMAIL/SMTP (want to use Email delivery service)

Post by Noxwizard » Sat Aug 11, 2018 8:58 pm

According to their site, your settings are correct: https://www.sparkpost.com/docs/faq/smtp ... -problems/
"Connection Refused" means their side is not accepting your connection. You will need to ask them.
[Support Template] - [Read Before Posting] - [phpBB Knowledge Base]
Do not contact me for private support, please share the question in our forums.

ibnehabib
Registered User
Posts: 8
Joined: Sat Aug 11, 2018 12:30 pm
Name: ibnehabib
Contact:

Re: Email error » EMAIL/SMTP (want to use Email delivery service)

Post by ibnehabib » Sat Aug 11, 2018 9:29 pm

sparkpost credentials are correct, i am using it in outlook and other site, it works on drupal, wordpress, elgg.

I suppose , there is problem in phpbb.
I have search about it on intranet, and there are only questions without solution.

ibnehabib
Registered User
Posts: 8
Joined: Sat Aug 11, 2018 12:30 pm
Name: ibnehabib
Contact:

Re: Email error » EMAIL/SMTP (want to use Email delivery service)

Post by ibnehabib » Mon Aug 13, 2018 9:32 am

It seems that there is no support for phpbb.

thank you,
I have to leave phpbb, wasted too much time.

Fyi.. there must be a bug in phpbb to send email using external smtp services.

User avatar
Mick
Support Team Member
Support Team Member
Posts: 20012
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Email error » EMAIL/SMTP (want to use Email delivery service)

Post by Mick » Mon Aug 13, 2018 9:57 am

ibnehabib wrote:
Mon Aug 13, 2018 9:32 am
It seems that there is no support for phpbb
Do you mean there’s no support for phpBB at your SMTP provider? I see Sparkposts front page says:
Sparkpost wrote:AWESOME SUPPORT AND DOCS
I would have thought they’d be on the ball seeing as how it’s a chargeable service. What did they tell you the problem is?
ibnehabib wrote:
Mon Aug 13, 2018 9:32 am
there must be a bug in phpbb to send email using external smtp services
If that were the case all SMTP setups would fail and that just isn’t the case. If you think it’s a bug you should report it to the tracker.
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.

ibnehabib
Registered User
Posts: 8
Joined: Sat Aug 11, 2018 12:30 pm
Name: ibnehabib
Contact:

Re: Email error » EMAIL/SMTP (want to use Email delivery service)

Post by ibnehabib » Mon Aug 13, 2018 5:09 pm

I meant , I am getting no support from phpbb support forum...

Its not about only sparkpost, even gmail, elasticmail are not working, I contacted to my hosting support and they worked on and told me phpbb is not connecting with sparkpost.

I have installed other forums Vanila and mybb, both delivering smtp emails flawlessly but i am interested in phpbb.

One more thing, i found many people asking for the same question/problem but there is no answer, either their query is pending or they got the answer to use hosting email/phpmail etc.

I am quite new, can you help how to report to tracker.

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51326
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Email error » EMAIL/SMTP (want to use Email delivery service)

Post by Brf » Mon Aug 13, 2018 5:37 pm

ibnehabib wrote:
Mon Aug 13, 2018 5:09 pm
I am getting no support from phpbb support forum...
Your error message states "(Connection refused)".
This means that "smtp.sparkpostmail.com:587" is refusing the connection.
You would need to ask at sparkpostmail support why they are refusing the connection.

ibnehabib
Registered User
Posts: 8
Joined: Sat Aug 11, 2018 12:30 pm
Name: ibnehabib
Contact:

Re: Email error » EMAIL/SMTP (want to use Email delivery service)

Post by ibnehabib » Mon Aug 13, 2018 6:12 pm

Thanks,

I changed it to gmail and receiving below error
Email error
» EMAIL/SMTP
/adm/index.php

Could not connect to smtp host : 0 :
Email error
» EMAIL/SMTP
/memberlist.php

Ran into problems sending email at Line 1596. Response: 534 5.7.14 https://support.google.com/mail/answer/78754 t69-v6sm36838374pfj.7 - gsmtp
.
Backtrace
Connecting to smtp.gmail.com:587
LINE: 1139 <- 220 smtp.gmail.com ESMTP t69-v6sm36838374pfj.7 - gsmtp

# EHLO server242.web-hosting.com
LINE: 1486 <- 250-smtp.gmail.com at your service, [199.188.200.55]

LINE: 1486 <- 250-SIZE 35882577

LINE: 1486 <- 250-8BITMIME

LINE: 1486 <- 250-STARTTLS

LINE: 1486 <- 250-ENHANCEDSTATUSCODES

LINE: 1486 <- 250-PIPELINING

LINE: 1486 <- 250-CHUNKING

LINE: 1486 <- 250 SMTPUTF8

# STARTTLS
LINE: 1531 <- 220 2.0.0 Ready to start TLS

# EHLO server242.web-hosting.com
LINE: 1486 <- 250-smtp.gmail.com at your service, [199.188.200.55]

LINE: 1486 <- 250-SIZE 35882577

LINE: 1486 <- 250-8BITMIME

LINE: 1486 <- 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH

LINE: 1486 <- 250-ENHANCEDSTATUSCODES

LINE: 1486 <- 250-PIPELINING

LINE: 1486 <- 250-CHUNKING

LINE: 1486 <- 250 SMTPUTF8

# AUTH PLAIN
LINE: 1589 <- 334

# Omitting sensitive information
LINE: 1596 <- 534-5.7.14 <https://accounts.google.com/signin/cont ... t=AKgnsbtU

LINE: 1596 <- 534-5.7.14 F0bHCr7sEN7k1IYD52Ge1k2AZK6tH50ICM3OiXX_64JBsuwAO62M-RKi5H408WhWCm6KV1

LINE: 1596 <- 534-5.7.14 9DopOzX6HWkZLgQGjACQtaWgCaKyUgb-PM9zf8H3EkP3uSB9vZ7Bm-o4pNXJXlZWc1kDtY

LINE: 1596 <- 534-5.7.14 JvENZZqZE2NwA6fAfmh5uPcu_7q-027RN9Q2dBWt9XX18OFfETISEchsUDr37ZIrHxQwQC

LINE: 1596 <- 534-5.7.14 2ne5chjT0Gs9C7R522W2_eiz2EycBdfnsTwe-NWE-wfWCRugCj> Please log in via

LINE: 1596 <- 534-5.7.14 your web browser and then try again.

LINE: 1596 <- 534-5.7.14 Learn more at

LINE: 1596 <- 534 5.7.14 https://support.google.com/mail/answer/78754 t69-v6sm36838374pfj.7 - gsmtp
From Emails address is same as user email
gmail-smtp.JPG
gmail-smtp

User avatar
Lumpy Burgertushie
Registered User
Posts: 64890
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Email error » EMAIL/SMTP (want to use Email delivery service)

Post by Lumpy Burgertushie » Mon Aug 13, 2018 10:00 pm

none of that has anything to do with phpbb.

phpbb provides two different ways to use email. both of those ways depend on your host's server setup .

contact your host.

most likely the problem is going to be that your host does not allow you to relay email through there smtp servers etc.

what that means is that you will need to use a email address that is hosted on your hosting account with your hosting provider.
in other words, you go to your hosting control panel, create a email address for your board such as " you @yourdomain.com" then use that email address for the boardrd. if for some reason you want to access the board email from a different provider, you will have to create a forware or redirect from you@yourdomain.com to you@ sparkpost or whatever email proveder you want to use.


robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

Post Reply

Return to “[3.2.x] Support Forum”

Who is online

Users browsing this forum: Mitch1063, Rahber and 26 guests