phpBB email not working

Connect with other users about what to run on your webhosting (and how to run it) here.
Post Reply
Bigsplash
A semi-regular
A semi-regular
Posts: 29
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Mon Dec 01, 2014 10:32 am

phpBB email not working

Post by Bigsplash »

My phpbb board will not send out any emails please help!

This is the error code I get:

E-mail error
» EMAIL/SMTP
/ucp.php

SMTP server does not support authentication.
Backtrace
Connecting to Localhost:25
LINE: 1047 <- 220 hosted.nfoservers.com ESMTP Postfix

# EHLO hosted28.nfoservers.com
LINE: 1319 <- 250-hosted.nfoservers.com

LINE: 1319 <- 250-PIPELINING

LINE: 1319 <- 250-SIZE 10240000

LINE: 1319 <- 250-VRFY

LINE: 1319 <- 250-ETRN

LINE: 1319 <- 250-ENHANCEDSTATUSCODES

LINE: 1319 <- 250-8BITMIME

LINE: 1319 <- 250 DSN

My email settings are:

Smpt server address Localhost
Smpt server port. 25
Authentication method. Plain
Smpt username. Blank
Smpt password. Blank
Image
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: phpBB email not working

Post by soja »

The web hosting machines do not handle the email for your domain/website.

If you go to the "Mail" tab on your control panel, you will see instructions to use mail.nfoservers.com.
Not a NFO employee
Bigsplash
A semi-regular
A semi-regular
Posts: 29
Joined: Mon Dec 01, 2014 10:32 am

Re: phpBB email not working

Post by Bigsplash »

Hi Soja thank you for taking the time to respond to my question.

I looked at the mail tab and if i understand correctly i would need to do this:

Smpt server address: Localhost changes to ------>. mail.nfoservers.com
Smpt server port. 25
Authentication method. Plain
Smpt username. Blank
Smpt password. Blank


Am i understanding this correctly?
Image
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: phpBB email not working

Post by soja »

My apologies, it does appear that sending emails from the web hosting machine is possible, and required when sending automated emails(like the ones from a forum system).

After doing some playing around on my web hosting machine, you can indeed send emails without authentication from your local web server.

Simply disable SMTP authentication, change the hostname to localhost, and you should be good to go.
Not a NFO employee
Bigsplash
A semi-regular
A semi-regular
Posts: 29
Joined: Mon Dec 01, 2014 10:32 am

Re: phpBB email not working

Post by Bigsplash »

You are correct phpbb has two check boxes for smpt marked yes and no, I selected no, and then selected "plain" from the pulldown menu and left user and password blank.

That did the trick!

Big Thanks!
Image
User avatar
HoLyCoW
A regular
A regular
Posts: 32
Joined: Sat Jul 21, 2012 11:38 pm

Re: phpBB email not working

Post by HoLyCoW »

I'm having this issue too. My phpBB 3.0.12 is not sending out emails using the mail() function.

So, like this thread suggests, I tried switching to SMTP using "localhost" as the name, with default port (25), authentication set to "PLAIN", and no username or password.

Now when I try the "I forgot my password" option, I try to send to an email address @yahoo.com

However, I get an error from Yahoo stating:
This is the mail system at host hosted31.nfoservers.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system

<{EMAIL}@yahoo.com>: host mta7.am0.yahoodns.net[63.250.192.45] said: 554
5.7.9 Message not accepted for policy reasons. See
http://postmaster.yahoo.com/errors/postmaster-28.html (in reply to end of
DATA command)
At this point, I'm not sure what to do.
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: phpBB email not working

Post by soja »

What is the "From" email address you are trying to use to send mail?
Not a NFO employee
User avatar
Edge100x
Founder
Founder
Posts: 13120
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: phpBB email not working

Post by Edge100x »

Based on that error, the domain part of your email address has published a record that disallows you from sending from the IP address of your webhosting account's server.
User avatar
HoLyCoW
A regular
A regular
Posts: 32
Joined: Sat Jul 21, 2012 11:38 pm

Re: phpBB email not working

Post by HoLyCoW »

soja wrote:What is the "From" email address you are trying to use to send mail?
In the PhpBB settings for "Contact e-mail address" and "Return e-mail address" I'm using my own email address: holycowzorz@yahoo.com

And I'm trying to change the password of my own account with the same email address: holycowzorz@yahoo.com
Edge100x wrote:Based on that error, the domain part of your email address has published a record that disallows you from sending from the IP address of your webhosting account's server.
So what can I do to fix this since NFO is our web host?
User avatar
Edge100x
Founder
Founder
Posts: 13120
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: phpBB email not working

Post by Edge100x »

HoLyCoW wrote:So what can I do to fix this since NFO is our web host?
The problem isn't related to where you are hosting. It is caused by your claiming a return address of @yahoo.com, which yahoo.com only allows its own servers to do. You need to use a different return address that is set up to authorize our webserver to send email on your behalf, such as one corresponding to your own personal domain.
User avatar
HoLyCoW
A regular
A regular
Posts: 32
Joined: Sat Jul 21, 2012 11:38 pm

Re: phpBB email not working

Post by HoLyCoW »

Edge100x wrote:The problem isn't related to where you are hosting. It is caused by your claiming a return address of @yahoo.com, which yahoo.com only allows its own servers to do. You need to use a different return address that is set up to authorize our webserver to send email on your behalf, such as one corresponding to your own personal domain.
OH! Okay. Thanks!
Post Reply