Using a Gmail Account for Both Email Print and Outgoing Mail with EveryonePrint.
Gmail provides the interface for retrieving incoming mail through the POP and IMAP protocols. Both protocols are supported by EveryonePrint but POP is NOT recommended as per Google's own best practices (in Google's words: "POP is prone to losing messages or downloading the same messages multiple times"), so we strongly recommend to use IMAP.
Gmail for Email Print:
Warning: never test Email print incoming mail with a real user's email account, or you risk to delete all its Inbox content. Always create/use a dedicated Email box for that purpose.
- Create a dedicated Gmail account. It’s recommended you use a describing account name that is easy for the end-users to remember. A good example would be mobileprint.companyname@gmail.com.
- Once the Gmail account is created you need to enable the IMAP protocol so third party apps like EveryonePrint are able to retrieve the email from the mailbox.
- To enable IMAP for the account log into the Gmail Webpage and select the in the upper right corner. Then from the drop down menu select Settings.
- The account settings are now displayed.
- Select the Forwarding and POP/IMAP tab.
- Then under the IMAP Access section select Enable IMAP
- Select Save Changes. The account is now prepared for use with EveryonePrint.
- Open the EveryonePrint Admin web page and log on using the Admin account.
- Select the Settings tab from the top menu and then select Email Print from the menu on the left.
- Fill out the Email Print Address, for Mail server type select IMAP SSL. The Mail server address for Gmail IMAP is imap.gmail.com.
- Under the Incoming Mail Server settings provide the Gmail account credentials .
- Select the Test Incoming Mail Settings option, this will ensure a test is performed when the settings are saved. At the bottom of the page select Save Changes. The status of the test of the settings is shown at the top of the web page. If the settings test successfully you will see:
- The incoming mail settings for Gmail are now successfully configured.
Issues with Gmail Setup:
Gmail and Less Secure Apps
Google has enhanced default security on Gmail accounts, so you may be receiving this error when testing the connection:
Then you need to enable access to 'Less secure apps' in Google.
See Google Account Help Center Response for an explanation.
Go to your Gmail account:
- In Gmail click your icon on the top right and click [My account]
- Select "Sign-in & security" on the left menu
- Scroll down to "Connected apps & sites" or go directly Google Account - Less Secure Apps
- Turn ON "Allow less secure apps"
Gmail and 2-Step Verification enabled:
If you have configured your Gmail account with 2-Step Verification enabled you will get an error message when testing the connection like:
To circumvent this error you need to create an App password in your Gmail account:
- In Gmail click your icon on the top right and click [My account]
- Select "Sign-in & security" on the left menu
- Scroll down "Signing in to Google"
- Chose "App passwords" (your password is requested)
- Select the app and device you want to generate the app password for
- Click 'Select App'
- Chose "Other (Custom name)"
- Enter "EveryonePrint Email Print" and click [Generate]
- Copy the 16 digits code
- Use this code as password in Email print setup
Gmail for Outgoing Mail:
- From the Settings menu on the Admin web page select Outgoing Mail.
- For the Server use smtp.gmail.com, for the Port use 587, Use SSL is No and Use TLS is Yes. (see Google Gmail Help Center Response )
- Provide the Gmail account credentials in the Username and Password fields.
- Populate the Customer Information section with the Company name and the Sender email address. Typically the same email address is used for the Sender email address as the Email Print Address that’s configured for the incoming email. Emails that are sent from the application, such as emails containing release codes, are branded with this info.
- Under the Send Test Email section lower on the web page provide an email address and check the Send test email option. This will ensure a test is performed when the settings are saved to see if EveryonePrint can send emails.
- Select Save Changes at the bottom of the page. If the settings are correct the following message is shown on the web page:
The Email print feature is now successfully configured to use Gmail for incoming and outgoing mail.
Troubleshooting:
- Consult Gmail support Google Gmail Help Center Response.
- If Incoming emails are not arriving:
Verify and/or enable Debug in Admin Console -> General settings
Check log file <EOP-Install-Dir>\logs\eopapp_yyyy_mm_dd.log for any logged errors. - If Outgoing emails are not received, please refer to This Print Support Center Article.
If you're in doubt, contact EveryonePrint Support and provide config and log files following the guidelines here Creating Debug Log Files for Support.