Issues with Configuring Email Server

Hi,

I am trying to configure mail server in Appian V7.10 so an email can be sent using office365 account.
While sending emails Appian reads the configurations mentioned in custom.properties (configuarations suggested in forum.appian.com/.../Mail_Server_Setup.html). But we are facing problem while sending mails.

Steps followed:

we configured office365 as mail server, configured this as SMTP host.
we did the setting as mentioned in forum. forum.appian.com/.../Mail_Server_Setup.html
conf.mailhandler.mail.smtp.host=SMTP_HOST:PORT
conf.mailhandler.mail.smtp.auth=true
conf.mailhandler.mail.user=myuser@abc.com
conf.mailhandler.mail.transport.protocol=smtp
password is mentioned in password.properties file.
conf.password.SMTP=mypassword

Notification sender is also configured.
conf.mailhandler.ntf_sndr_addr=myuser@abc.com
conf.mailhandler.ntf_sndr_name=myuser

We tested the connectivity from the appian...

OriginalPostID-167251

OriginalPostID-167251

  Discussion posts and replies are publicly visible

Parents
  • We still get the same error :
    ======================================================
    05:23:25,943 INFO [com.metaparadigm.jsonrpc.BeanSerializer] (http-/0.0.0.0:8080-4) analyzing com.appiancorp.suiteapi.process.ProcessVariable
    05:23:32,455 INFO [stdout] (http-/0.0.0.0:8080-4) 2015-09-22 05:23:32,452 [http-/0.0.0.0:8080-4] ERROR com.appiancorp.ap2.util.Mail - Could not send mail via smtp.office365.com:587 to venusaikumarc@incessanttechnologies.com
    05:23:32,499 INFO [stdout] (http-/0.0.0.0:8080-4) 2015-09-22 05:23:32,491 [http-/0.0.0.0:8080-4] ERROR com.appiancorp.process.runtime.activities.SendEmailActivity - javax.mail.MessagingException: Could not connect to SMTP host: smtp.office365.com, port: 587;
    05:23:32,502 INFO [stdout] (http-/0.0.0.0:8080-4) nested exception is:
    05:23:32,503 INFO [stdout] (http-/0.0.0.0:8080-4) javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
    05:23:32,505 INFO [stdout] (http-/0.0.0.0:8080-4) javax.mail.MessagingException: Could not connect to SMTP host: smtp.office365.com, port: 587;
    05:23:32,512 INFO [stdout] (http-/0.0.0.0:8080-4) nested exception is:
    05:23:32,514 INFO [stdout] (http-/0.0.0.0:8080-4) javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
    05:23:32,516 INFO [stdout] (http-/0.0.0.0:8080-4) at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1972)
    ======================================================

    Attaching custom.properties and server.log for more details.

    custom.properties

    server (2).log

Reply
  • We still get the same error :
    ======================================================
    05:23:25,943 INFO [com.metaparadigm.jsonrpc.BeanSerializer] (http-/0.0.0.0:8080-4) analyzing com.appiancorp.suiteapi.process.ProcessVariable
    05:23:32,455 INFO [stdout] (http-/0.0.0.0:8080-4) 2015-09-22 05:23:32,452 [http-/0.0.0.0:8080-4] ERROR com.appiancorp.ap2.util.Mail - Could not send mail via smtp.office365.com:587 to venusaikumarc@incessanttechnologies.com
    05:23:32,499 INFO [stdout] (http-/0.0.0.0:8080-4) 2015-09-22 05:23:32,491 [http-/0.0.0.0:8080-4] ERROR com.appiancorp.process.runtime.activities.SendEmailActivity - javax.mail.MessagingException: Could not connect to SMTP host: smtp.office365.com, port: 587;
    05:23:32,502 INFO [stdout] (http-/0.0.0.0:8080-4) nested exception is:
    05:23:32,503 INFO [stdout] (http-/0.0.0.0:8080-4) javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
    05:23:32,505 INFO [stdout] (http-/0.0.0.0:8080-4) javax.mail.MessagingException: Could not connect to SMTP host: smtp.office365.com, port: 587;
    05:23:32,512 INFO [stdout] (http-/0.0.0.0:8080-4) nested exception is:
    05:23:32,514 INFO [stdout] (http-/0.0.0.0:8080-4) javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
    05:23:32,516 INFO [stdout] (http-/0.0.0.0:8080-4) at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1972)
    ======================================================

    Attaching custom.properties and server.log for more details.

    custom.properties

    server (2).log

Children
No Data