com.sn.net.ssl.jar mail收发邮箱ssl协议时用到,finalStringSSL_FACTORY="javax.net.ssl.SSLSocketFactory"; try{ //1.设置连接信息,生成一个Session Propertiesprops=newProperties(); // props.