How to setup Gmail in phpBB 3.3.x - some minor issues with the setup


Recommended Posts

 

 

hello dear friends - hello dear Community, 

 

i am currently working on the customization of the freshly installed phpBB3 - i have setup this two weeks ago and i skipped all the mail-Setup-steps. 

 

 

How to setup Gmail in phpBB 3.2.x in 2019?

https://www.yinfor.com/2019/04/how-to-setup-gmail-in-phpbb-3-2-x-in-2019.html

 

 

David wrote a post long time ago about how to use Gmail with phpBB 3. Now it is 2020.

It may get error with the same settings. It is not because my guide is wrong.

Actually Google add more security protection on its Gma

Let me review the settings.

 

1) Make sure your Gmail account (Google Apps account) is working properly.

 

Sample below:

Gmail account: myname@gmail.com

Gmail password: 123456

 

You can sign in your Gmail from the browser, Chrome or Firefox, etc.

 

2) Enable POP

Forwarding and POP / IMAP. Under POP Download, click either Enable POP for all Mail, or Enable POP for Mail that Arrives Now (which ever suits your purpose). Configure anything else that appeals to you too. Exit from the Gmail Settings Window after saving your selections (this is important).

 

 

  Quote

 

3) Settings in phpBB 3.2.x

Login the phpBB administrator panel.

Goto General Admin > Configuration > Email Settings

SMTP Server Address:tls://smtp.gmail.com

SMTP Ports: 465

Authentication method for SMTP: PLAIN

SMTP Username: myname@gmail.com

SMTP Password: 123456

 

 


 

Expand  

question: the so called SMTP-passwd: which one is this - is this the one that i use for my G.Mail-Account!?

 

love to hear from you

 

regards

 

 

 

 

 

hi there - i found more good HowTos

 

 

 

df https://www.phpbb.com/support/docs/en/3.3/ug/adminguide/general_client/

 

phpBB3 is capable of sending out emails to your users. Here, you can configure the information that is used when your board sends out these emails. phpBB3 can send out emails by using either the native, PHP-based email service, or a specified SMTP server. If you are not sure if you have an SMTP server available, use the native email service. You will have to ask your hoster for further details. Once you are done configuring the email settings, click SUBMIT.
Note. Please ensure the email address you specify is valid, as any bounced or undeliverable messages will likely be sent to that address.

 

General Settings

ENABLE BOARD-WIDE EMAILS: If this is set to disabled, no emails will be sent by the board at all.
USERS SEND EMAIL VIA BOARD:: If this is set to enabled, a form allowing users to send emails to each other via the board will be displayed, rather than an email address.
EMAIL FUNCTION NAME: If you are using the native, PHP-based email service, this should be the name of the email function. This is most likely going to be "mail".
EMAIL PACKAGE SIZE: This is the number of emails that can be sent in one package. This is useful for when you want to send mass emails, and you have a large amount of users.
CONTACT EMAIL ADDRESS: This is the address that your board's email feedback will be sent to. This is also the address that will populate the "From" and "Reply-to" addresses in all emails sent by your board.
RETURN EMAIL ADDRESS: This is the return address that will be put on all emails as the technical contact email address. It will always populate the "Return-Path" and "Sender" addresses in all emails sent by your board.
EMAIL SIGNATURE: This text will be attached at the end of all emails sent by your board.
HIDE EMAIL ADDRESSES: If you want to keep email addresses completely private, set this value to YES.

SMTP Settings
USE SMTP SERVER FOR EMAIL: Select YES if you want your board to send emails via an SMTP server. If you are not sure that you have an SMTP server available for use, set this to NO; this will make your board use the native, PHP-based email service, which in most cases is the safest available option.
SMTP SERVER ADDRESS: The address of the SMTP server.
SMTP SERVER PORT: The port that the SMTP server is located on. In most cases, SMTP servers are located on port 25; do not change this value if you are unsure about this.
AUTHENTICATION METHOD FOR SMTP: This is the authentication method that your board will use when connecting to the specified SMTP server. This only applies if an SMTP username and password are set, and required by the server. The available methods are PLAIN, LOGIN, CRAM-MD5, DIGEST-MD5, and POP-BEFORE-SMTP. If you are unsure about which authentication method you must use, ask your hoster for more information.
SMTP USERNAME: The username that phpBB will use when connecting to the specified SMTP server. You should only fill this in if the SMTP server requires it.
SMTP PASSWORD: The password for the above specified username that phpBB will use when connecting to the specified SMTP server. You should only fill this in if the SMTP server requires it

 

SMTP Server Username/Password?

i have set up a phpBB and now i need to know the date for the e-mail-setup

to Email from phpBB is sometimes problematic.  there are several ways to make sending email from phpBB:
the native php mail() functions 


the native php mail() function vs. use SMTP (Simple Mail Transfer Protocol) 

how to configure phpBB to use SMTP (Simple Mail Transfer Protocol) to send emails. 

we can change these settings in ACP > General > Client communications > Email settings, which can be set halfway down the page.
in general phpBB hands off email to PHP using the general (native) PHP’s mail function. 

 

the methods /& was and processes: 

general (native) PHP’s mail function: if mail function returns FALSE, the email should not have gone out. 
in general the sending failures appear in phpBB’s error log: ACP > Maintenance > Error log.
that said - we can say that even the PHP mail function returns TRUE, it may be a false report. 
besides that there are some cases where TRUE is given back: But the True is more or less the sign that only means that the mail was accepted. 

in other words: Whether TRUE means “accepted” or “successfully sent” depends on how our host’s email server has been set up and configured.
how to set the email account - it can be done phpBB: ACP > General > Client communications > Email settings. Set this email address for Contact email address and From email address. By default on Linux web servers (most typical kind of hosting), PHP’s mail function sends outgoing email to a sendmail process. 
sendmail will be configured on Linux machines generically. 


Alternative way: SMTP to send email instead:

doing so we have to authenticate yourself with the SMTP mail server. 
the authenticating process has to be done propperly - if all was done so the emails are likelier to go out. 
The downside is that it’s a bit of a hassle to set up SMTP. 

-  external SMTP server like GMail.
-  be carefully: Many web hosts will block outgoing SMTP email. 


There are essentially three different ways in which sending mail from phpBB could be configured:
taken from here - from EA 117: https://www.phpbb.com/community/viewtopic.php?t=2492771

"Use SMTP server for email" set to "No", which means phpBB will invoke the PHP mail() function. 
Which in turn, your hosting provider has configured the PHP mail() function invoke a local application (typically "sendmail") 
to take the message information supplied (to address, subject, message, requested headers) and create the actual SMTP-format message using this information.

The default "From:" to be used in this configuration is also configured by the hosting provider, although phpBB offers the "Force from email address" setting. If enabled, this option will attempt to invoke the "sendmail" command line option "-f address" to request that your board's "from" email address be used instead, if that's different than what your host was already defaulting to.

The "sendmail" application (the native mail-function) then connects to an SMTP server of the hosting provider's choosing, 
which is typically an SMTP server owned by the hosting provider. 


"Use SMTP server for email" set to "Yes", but "SMTP server address and protocol" is set to "localhost". 
In this configuration, phpBB is constructing all of the SMTP message headers and content itself. 
And is connecting to the SMTP server itself, and handling both the commands and errors returned by the SMTP server itself. 
There is no PHP mail() or sendmail layer handing any of these, and its all directly performed by phpBB code.

But, because the SMTP server specified to connect to is "localhost", phpBB is ultimately providing this SMTP message to the mail 
handler running on the server where phpBB is running. Which is an SMTP server/forwarder controlled by the hosting provider, 
and would ultimately go through the same hosting provider-controlled spam filters and outbound mail abuse protections.


"Use SMTP server for email" set to "Yes", but "SMTP server address and protocol" is set to an external SMTP server. 
In this configuration, now phpBB is sending the SMTP message it constructed to some "outside" SMTP server, 
which you are authorized to use and authenticate to using the other SMTP-related settings in "SMTP settings" 
(port, username, password, etc.).

 

 

some additional help would be great.

 

see the thread about the correct settings of _GMAIL-SMTP-server

 

https://support.google.com/mail/thread/5579215?hl=en

 


the Mail-Tester:  https://www.unlocktheinbox.com/mail-tester/

 

Mail Tester:
- Authentication and Configuration eMail Tester
- If your email is not configured correctly:
 - Gmail, Hotmail, Yahoo, AOL, etc might be sending it to spam
 - It's likely some of your customers don't even receive your emails
 - Highly possibile you will be listed on different blacklists
 - You will be losing sales and customers
 - Customers will get angry from not getting information from you
 - Your IT costs will increase to clean your IP's and reputation


All you have to do is send an email to "mailtest@unlocktheinbox.com" and it will autorespond within minutes with a complete email analysis.
Note: If "mailtest@unlocktheinbox.com" does not auto respond within 5 minutes, you might be on our internal blacklist. If you find your email addresses listed, simply remove yourself and repeat the test. If you still don't get a response, please contact us using the button on the top of the website.
All of our mail tests performed are based on email (RFC Standards), Security Standards, and Postmaster guidelines from large ESP (Email Service Providers).
For a step by step guide to the different sections of the Mail Tester Pro Report. Please read our Mail Tester Guide starting with Email Headers.
The Mail Tester Pro Report

the test-things

Publication: RFC 822
Header Information

Publication: RFC 5322
Header Counts
MX Records
rDNS PTR Records
Last Sending Domain Name - A Record Test
Mail Flow
Client EHLO Split IP Test
ISIPP Email Certification and Accreditation
MIME-Version - Syntax Check - RFC2045 - Message Header
Email Port Checks for: mail.unlocktheinbox.com


 

i still have questions regarding the finding the correct data - but  the gathering of the infos helps here.  i will test run the settings and will come back here

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Thanks for your linked article of off site examples of Windows Next hate, for a moment I thought you were lumping in all neowin users and reporters into that same category.
    • Man, the only Vista hate I remember was the fact you needed a pretty decent GPU to enable Aero Glass, and they also turned it off until you Activated Windows (no try before you buy). Point me to any articles we did on Vista hate? People shouldn't throw around accusations like this without at least backing themselves up.
    • Finally the tasteless sound is replaced with the good old pleasant sounding one.
    • Surface Pro 11 and Laptop 7 get big firmware updates that fix shutdowns, black screens, more by Taras Buria Microsoft has released major firmware updates for some of its ARM-powered Copilot+ PCs. The Surface Pro 11 and the Surface Laptop 7 can now download the June 2025 firmware updates. These updates address a wide range of issues, including abrupt shutdowns when playing Netflix, black screen flashes, bugs with the Slim Pen haptics in OneNote, incorrect battery indication on the taskbar, and various performance improvements. Here are the changelogs for both devices: Surface Pro 11 Surface Laptop 7 Reliability: Improves system stability and reduces the frequency of unexpected shutdowns or the occurrence of a black screen while watching Netflix. Mitigates the issue that could cause screen flashing or a blank display during power state transitions. Improves the touch experience by resolving an issue where touch functionality could be lost after the device remained in Sleep mode for an extended period. Addresses an issue with Slim Pen losing haptic or Side button functionality in Microsoft OneNote. Resolved an issue where the battery icon incorrectly displayed the device as plugged in after waking from Sleep mode, even when it was not connected to a power source. ​ Performance and usability: Resolves the issue that caused authentication failures while using Windows Hello when waking from Sleep mode. Improves camera stability by reducing unexpected crashes and addressing issues, including freezing in video calls when HDR is enabled, errors when launching the Camera app or taking photos, and problems switching between front and rear cameras in some apps. Mitigates an issue where the Settings app could crash when setting up Fingerprint recognition. Interoperability: Resolves connectivity issues that caused the device to lose wired network access or fail to detect external monitors when connected via USB-C. Reliability: Improves overall stability, reducing occurrences of unexpected crashes and error screens. Reduces the occurrence of crashes during audio streaming sessions. Minimizes display timeout events and reduces the frequency of recovery cycles. Resolves an issue that caused the screen to remain black when resuming from Sleep mode. Performance and usability: Addresses an intermittent audio disruption experienced during video playback with Bluetooth headsets. Resolves a problem that caused Teams audio to drop during transitions between Bluetooth and built-in speakers. Addresses a startup issue that prevented USB Type-A devices from being recognized on the first boot. Interoperability: Resolves an issue introduced in the April 2025 release that prevented Thunderbolt 4 monitors from functioning when connected to the host device. You can get these updates by heading to Settings > Windows Update. Like Windows updates, Surface firmware releases are cumulative, which means a single download contains every update released so far. While the latest firmware updates for the Surface Pro 11 and the Surface Laptop 7 do not contain any known issues, keep in mind that firmware is not uninstallable, so back up important data to keep it safe before updating. You can find release notes for the Surface Pro 11 here and the Surface Laptop 7 here. Note that these updates are only available for Snapdragon-based versions, not those with Intel processors.
    • Here’s some history of this nonsense for people with short memories. https://www.neowin.net/amp/windows-next-hate-is-nothing-new/
  • Recent Achievements

    • One Month Later
      Jdoe25 earned a badge
      One Month Later
    • Explorer
      Legend20 went up a rank
      Explorer
    • One Month Later
      jezzzy earned a badge
      One Month Later
    • First Post
      CSpera earned a badge
      First Post
    • One Month Later
      MIR JOHNNY BLAZE earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      617
    2. 2
      ATLien_0
      277
    3. 3
      +FloatingFatMan
      178
    4. 4
      Michael Scrip
      151
    5. 5
      Steven P.
      117
  • Tell a friend

    Love Neowin? Tell a friend!