Java How to Trust all Email Server

1. Use this to trust all the Email Server,
then we no need to get the server cer file and add into the cacerts
System.setProperty(“”, “*”);


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.