Prepare the Gmail Account for Pop3
- Gmail Settings : Enable Pop3
- Enable Less secure apps
https://myaccount.google.com/lesssecureapps
Prepare the TrustStore for IIB
To retrieve the certificate from gmail pop server.
1 | openssl s_client -host pop.gmail.com -port 995 -prexit -showcerts |
Then save each of the certs as separate .cer or .pem file and import into the truststore.
Set up IIB run time env
1 | mqsisetdbparms TESTNODE_Rachel -n gmailtestaccount -u myemailaddress@gmail.com -p mygmailpassword |
1 | mqsichangeproperties TESTNODE_Rachel -e default -o ComIbmJVMManager -n truststoreFile -v "D:\temp\certs\localhost.truststore.jks" |
to check the current configuration
1 | mqsireportproperties TESTNODE_Rachel -o BrokerRegistry -a |
Configure the IIB Email Input node
- Email Server: pop3s://pop.gmail.com:995
- Security Identity: gmailtestaccount