Configuing Appian 7.10 with GMAIL ( smtp.gmail.com ) : ====================

Configuing Appian 7.10 with GMAIL ( smtp.gmail.com ) :
========================================================================
Getting authentication failure while Appian trying to connect to GMAIL.

06:37:31,340 INFO [stdout] (Appian Work Item - 1 - ProcessExec00 : UnattendedJavaActivityRequest) 2015-09-30 06:37:31,339 [Appian Work Item - 1 - ProcessExec00 : UnattendedJavaActivityRequest] ERROR com.appiancorp.ap2.util.Mail - Could not send mail via smtp.gmail.com:587 to venusaikumar@gmail.com

06:37:31,361 INFO [stdout] (Appian Work Item - 1 - ProcessExec00 : UnattendedJavaActivityRequest) 2015-09-30 06:37:31,353 [Appian Work Item - 1 - ProcessExec00 : UnattendedJavaActivityRequest] ERROR com.appiancorp.process.runtime.activities.SendEmailActivity - javax.mail.AuthenticationFailedException: 534-5.7.14 <accounts.google.com/ContinueSignIn
============================================================...

mail.txt

OriginalPostID-170217

OriginalPostID-170217

  Discussion posts and replies are publicly visible

Parents
  • Now we specified the port in ejb-jar.xml file and now we can see the connection established with the mail server smtp.gmail.com with port 587

    We created a process model to verify the Inbound mails( To Start a process by Email) and public events enabled, processmodel UUID is mentioned in Email Body.

    Attaching ejb-jar.xml file details for more information .

    From the log we get the details as follows :-
    ==========================================
    09:46:56,779 INFO [stdout] (Appian MailActivation - 1) DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]}

    09:46:56,782 INFO [stdout] (Appian MailActivation - 1) DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map

    09:46:56,786 INFO [stdout] (Appian MailActivation - 1) DEBUG: setDebug: JavaMail version 1.4.5.redhat-2

    09:46:56,787 INFO [stdout] (Appian MailActivation - 1) DEBUG: getProvider() returning javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc]

    09:46:56,789 INFO [stdout] (Appian MailActivation - 1) DEBUG: mail.imap.fetchsize: 16384

    09:46:56,790 INFO [stdout] (Appian MailActivation - 1) DEBUG: mail.imap.statuscachetimeout: 1000

    09:46:56,791 INFO [stdout] (Appian MailActivation - 1) DEBUG: mail.imap.appendbuffersize: -1

    09:46:56,792 INFO [stdout] (Appian MailActivation - 1) DEBUG: mail.imap.minidletime: 10

    09:46:56,793 INFO [stdout] (Appian MailActivation - 1) DEBUG: enable STARTTLS

    09:46:56,794 INFO [stdout] (Appian MailActivation - 1) DEBUG: trying to connect to host "smtp.gmail.com", port 587, isSSL false

    09:46:57,226 INFO [stdout] (Appian MailActivation - 1) 220 smtp.gmail.com ESMTP pk2sm5568644pbb.21 - gsmtp

    ejb-jar.xml

Reply
  • Now we specified the port in ejb-jar.xml file and now we can see the connection established with the mail server smtp.gmail.com with port 587

    We created a process model to verify the Inbound mails( To Start a process by Email) and public events enabled, processmodel UUID is mentioned in Email Body.

    Attaching ejb-jar.xml file details for more information .

    From the log we get the details as follows :-
    ==========================================
    09:46:56,779 INFO [stdout] (Appian MailActivation - 1) DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]}

    09:46:56,782 INFO [stdout] (Appian MailActivation - 1) DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map

    09:46:56,786 INFO [stdout] (Appian MailActivation - 1) DEBUG: setDebug: JavaMail version 1.4.5.redhat-2

    09:46:56,787 INFO [stdout] (Appian MailActivation - 1) DEBUG: getProvider() returning javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc]

    09:46:56,789 INFO [stdout] (Appian MailActivation - 1) DEBUG: mail.imap.fetchsize: 16384

    09:46:56,790 INFO [stdout] (Appian MailActivation - 1) DEBUG: mail.imap.statuscachetimeout: 1000

    09:46:56,791 INFO [stdout] (Appian MailActivation - 1) DEBUG: mail.imap.appendbuffersize: -1

    09:46:56,792 INFO [stdout] (Appian MailActivation - 1) DEBUG: mail.imap.minidletime: 10

    09:46:56,793 INFO [stdout] (Appian MailActivation - 1) DEBUG: enable STARTTLS

    09:46:56,794 INFO [stdout] (Appian MailActivation - 1) DEBUG: trying to connect to host "smtp.gmail.com", port 587, isSSL false

    09:46:57,226 INFO [stdout] (Appian MailActivation - 1) 220 smtp.gmail.com ESMTP pk2sm5568644pbb.21 - gsmtp

    ejb-jar.xml

Children
No Data