Currently Viewing Posts Tagged Gmail

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

I wrote a post long time ago about how to use Gmail with phpBB 3. Now it is 2019. It may get error with the same settings. It is not because my guide is wrong. Actually Google add more security protection on its Gmail facility.

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).

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

After the above three steps, try to send email by forget password or register a new user.

Check the error log on the phpBB Admin panel.

There are may be erro 535 or error 534. The error looks like below:

Error 535

Email 错误
» EMAIL/SMTP
/forum/ucp.php

Ran into problems sending email at Line 1662. Response: 535 5.7.8 https://support.google.com/mail/?p=BadCredentials q128sm62190489pga.60 - gsmtp
.
Backtrace

Connecting to tls://smtp.gmail.com:465
LINE: 1205 <- 220 smtp.gmail.com ESMTP q128sm62190489pga.60 - gsmtp

# EHLO freesat.cn
LINE: 1552 <- 250-smtp.gmail.com at your service, [165.227.55.7]

LINE: 1552 <- 250-SIZE 35882577

LINE: 1552 <- 250-8BITMIME

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

LINE: 1552 <- 250-ENHANCEDSTATUSCODES

LINE: 1552 <- 250-PIPELINING

LINE: 1552 <- 250-CHUNKING

LINE: 1552 <- 250 SMTPUTF8

# AUTH PLAIN
LINE: 1655 <- 334

# Omitting sensitive information
LINE: 1662 <- 535-5.7.8 Username and Password not accepted. Learn more at

LINE: 1662 <- 535 5.7.8 https://support.google.com/mail/?p=BadCredentials q128sm62190489pga.60 - gsmtp 

Error 534

Email 错误
» EMAIL/SMTP
/forum/ucp.php

Ran into problems sending email at Line 1662. Response: 534 5.7.14 https://support.google.com/mail/answer/78754 c3sm70133058pfg.88 - gsmtp
.
Backtrace

Connecting to tls://smtp.gmail.com:465
LINE: 1205 <- 220 smtp.gmail.com ESMTP c3sm70133058pfg.88 - gsmtp

# EHLO freesat.cn
LINE: 1552 <- 250-smtp.gmail.com at your service, [165.227.55.7]

LINE: 1552 <- 250-SIZE 35882577

LINE: 1552 <- 250-8BITMIME

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

LINE: 1552 <- 250-ENHANCEDSTATUSCODES

LINE: 1552 <- 250-PIPELINING

LINE: 1552 <- 250-CHUNKING

LINE: 1552 <- 250 SMTPUTF8

# AUTH PLAIN
LINE: 1655 <- 334

# Omitting sensitive information
LINE: 1662 <- 534-5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbvN

LINE: 1662 <- 534-5.7.14 oQL0Oh8c3yyrQ3pFWK8OSPe0ZeGUxF2IhoMTilIFwIhrm23Gh3AzeyJieBixBumfmLEUcK

LINE: 1662 <- 534-5.7.14 8uGA3j9f8ivM_fTF4QTY7IjShfbixidMFTu6snmNH9dGueiZpHaWPcVtrUFLGIQqhSVSl7

LINE: 1662 <- 534-5.7.14 wxVGeVOzTzQnsRZbpMRXhyL1L6dmZbpzwZhRrQPbmg_MzYMtjzW7UwBT> Please log

LINE: 1662 <- 534-5.7.14 in via your web browser and then try again.

LINE: 1662 <- 534-5.7.14 Learn more at

LINE: 1662 <- 534 5.7.14 https://support.google.com/mail/answer/78754 c3sm70133058pfg.88 - gsmtp

At this point, you should go to change the settings of your Gmail or Google account.

4) Settings at Google

Enable less secure apps to access account

Sign in to your Google account

Click Security

On the bottom of the page, in the Less secure app access panel, click Turn on access.

 

Unlock Captcha

Sign in to your Google account

Open https://accounts.google.com/DisplayUnlockCaptcha link and click button to unlock Captcha

Now, the Gmail can handle the mailing from phpBB without errors.

 

Google will Discontinue Inbox by Gmail

It is a new about Google emaill APPs.

Google has two email APPs, Inbox and Gmail.

Just an hour ago, Google announced that Inbox by Gmail will be discontinue at the end of March 2019. vi

In the post “Inbox is signing off. Find your favorite features in the new Gmail”, Google said so. I am using Inbox by Gmail for three years. Until yesterday, I found that my new phone has built-in Gmail APP, I can not uninstall it to use Inbox by Gmail App. Everytime I receive an email, two notifications comeout on my smartphone. All this just happened on my LG Q6, after upgrading to Android 8.1.0.

So I uninstalled Inbox by Gmail App.  Start to use Gmail App now.

Continue reading “Google will Discontinue Inbox by Gmail”

New Gmail is not as good as Classic Gmail

After I switch to the new Gmail, I used it for three days. Gmail stuck more than five times.

When I search the emails by email address, it stuck at loading.

Sometimes it stuck when I try to open an email.

Now I switch back to the classic Gmail. Stable is more important than any others.

 

Gmail Settings for Joomla 3.1.1

I installed Joomla 3.1.1 on a VPS. When I tried to use mass email, no matter what kind of mailer setting I put, I did not receive any email from it.
At last I tried SMTP settings with Gmail account.
1) Choose Mailer: SMTP
2) From email: youremail@gmail.com
3) From Name: Your Name
4) Sendmail Path: Just leave it as default
5) SMTP Authentication: Choose Yes
6) SMTP Security: SSL
7) SMTP Port: 465
8) SMTP Username: youremail@gmail.com
9) SMTP Password: the password of the email above
10) SMTP Host: smtp.gmail.com

Continue reading “Gmail Settings for Joomla 3.1.1”

How to apply Gmail Filter with two or more email address

I use GMail filters to keep all the emails I get from different stores flyer under their own labers.

To make a filter in GMail that handles more than one address, you can separate the addresses with a vertical bar – ‘|’, but not a comma.

Home@canada.dell.com | dell@dellhome.usa.dell.com

Or you can follow GMail’s help advice, and put them all in parenthesis, with an OR between addresses.

(Home@canada.dell.com OR dell@dellhome.usa.dell.com)

The OR technique doesn’t seem to work without the parens, while the vertical bar does…

Continue reading “How to apply Gmail Filter with two or more email address”

Make your Gmail more safe

As we know, official Google blog give a post said it get attack from China. It means from China Gov.
This attack tried to access the Gmail accounts of Chinese human rights activists. I do not think it is just for these person. If they can do it to them, them may do it to you in future.
They has no limitation. No rule.
OK, to play safe. We have to try our best to protect our own property. Including emails and any visible or invisible property.
Google can let you use https to connect Gmail account.

HTTPS encryption keeps your mail secure as it travels between your web browser and Gmail servers, so someone sharing your favorite coffee shop’s public wifi can’t maliciously read it. Banks and credit card companies use this same protocol to keep your online accounts safe. To protect your Gmail account, we’ve turned on the option to “always use HTTPS” for everyone. This added layer of security can make Gmail slower, so if you don’t use unencrypted wireless connections, you can choose to disable this option in your account Settings. Even if you change this setting, Gmail will always encrypt the login page to protect your password.

It is an option, but I STRONGLY suggest you to use HTTPS connection.

Continue reading “Make your Gmail more safe”

phplist released 2.10.9

I just installed a mailing list software on one of my forum.
Because mass email function of phpBB 3 does not work, I have to pick phplist, one of best free mail list software.
I introduced this software before. Now it is v 2.10.9 which released on 29 January 2009.
I have some tips need to be recorded for future reference.
1) User list is exported from phpBB database through phpmyadmin.
2) Gmail/Google Apps setting for bounce email on phplist configuration file.

$bounce_mailbox_host = 'pop.gmail.com';
$bounce_mailbox_user = 'username@gmail.com';
$bounce_mailbox_password = '********';
$bounce_mailbox_port = "995/pop3/ssl/novalidate-cert" ;

3) User list file is cvs format.
Please be remember to use tab delimiter, do not use common as delimiter.

Continue reading “phplist released 2.10.9”

phpBB3 Email settings with Gmail or Google Apps

I did a post one year ago for PHPBB2 and Gmail. Now I have a PHPBB 3.0.4.
How to config phpBB 3 forum board to make its email setting working with Gmail or Google Apps?
The old way does not work. How can I do?
I find a way to use Gmail smtp facility to send out email.


1) Have the Gmail or Goolge Apps’s email account works.
2) Using the menu at the top right edge of the main Gmail window (the one that shows up after you log in), click on Settings, and then 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).

Continue reading “phpBB3 Email settings with Gmail or Google Apps”

  • Archives