James server (SMTP server) hosted on
AWS EC2. I have small application running on this AWS instance which fetches certain emails from my Gmail account.
Gmail rejecting any
IMAP request from my
AWS EC2 with message suspicious activity.
When I did login (RDP) to
EC2 instance and open gmail in a browser (in which case it prompted me to valid few other details apart from regular password), it worked fine and all subsequent requests from my small application working fine.
It doesn't make sense to ask all users to do RDP to server first, then only use this application.
Does any one have any suggestions on how can I overcome this issue and make sure Gmail server trusts my
AWS EC2 instance as valid instance?
Thanks for your time.