To retrieve mails from gmail, - Provide the following property values:
- MailserverURL: pop.gmail.com
- MailServer Port: 995
- Generate app password from https://accounts.google.com/IssuedAuthSubTokens?hide_authsub=1 for 'Mail'
- Choose the desired device in App passwords section at Google Account > Security > Signing in to Google.
- Use the generated password in the Authentication Configuration section.
- Apart from the above, provide the following additional properties:
mail.pop3.starttls.enable=true mail.pop3.auth=true mail.pop3.ssl.enable=true mail.pop3.socketFactory.fallback=false mail.pop3.socketFactory.port=995 - mail.pop3.ssl.protocols=TLSv1.2
|