JavaMail works with JBOSS Application Server 7 but not working with Tomcat7 on OpenShift

前端 未结 1 560
说谎
说谎 2021-01-25 13:54
   package com.example.web;

    import java.io.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.annotation.WebServlet;
    import javax.s         


        
1条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-25 14:42

    You should have recieved a mail from Google saying that Sign-in Has Been Prevented. This will happen when you are trying to login in a new device/application from remote location. You may need to update the google security settings in order to make it work.

    Read more at this link

    0 讨论(0)
提交回复
热议问题