Package ru.bgcrm.util

Class MailConfig


  • public class MailConfig
    extends java.lang.Object
    • Field Detail

      • FETCH_PROFILE

        public static final javax.mail.FetchProfile FETCH_PROFILE
    • Constructor Detail

    • Method Detail

      • getEmail

        public java.lang.String getEmail()
      • getFrom

        public java.lang.String getFrom()
      • check

        public boolean check()
      • getImapSession

        public javax.mail.Session getImapSession()
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getImapStore

        public javax.mail.Store getImapStore()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getSmtpSession

        public javax.mail.Session getSmtpSession​(ParameterMap defaultParamMap)