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
  • There are two issues here:


    1. You cannot send email using Send Email Smart Service
    ---> Error in logs: Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
    ---> Root cause: SSL handshake
    ---> Suggested solution #1

    Use this value instead of yours and restart JBoss

    conf.mailhandler.mail.transport.protocol=smtp

    ---> Suggested solution #2 if #1 doesn't work

    leave smtps here:

    conf.mailhandler.mail.transport.protocol=smtps

    but make this false and restart JBoss

    conf.mailhandler.mail.smtp.starttls.required=false



    2. The system cannot send email alerts
    ---> Error in logs: Caused by: java.io.IOException: Invalid Http response
    ---> Root cause: This has to do with the settings I mentioned earlier. I still believe they're misconfigured.
    ---> Will investigate this once #1 is resolved
Reply
  • There are two issues here:


    1. You cannot send email using Send Email Smart Service
    ---> Error in logs: Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
    ---> Root cause: SSL handshake
    ---> Suggested solution #1

    Use this value instead of yours and restart JBoss

    conf.mailhandler.mail.transport.protocol=smtp

    ---> Suggested solution #2 if #1 doesn't work

    leave smtps here:

    conf.mailhandler.mail.transport.protocol=smtps

    but make this false and restart JBoss

    conf.mailhandler.mail.smtp.starttls.required=false



    2. The system cannot send email alerts
    ---> Error in logs: Caused by: java.io.IOException: Invalid Http response
    ---> Root cause: This has to do with the settings I mentioned earlier. I still believe they're misconfigured.
    ---> Will investigate this once #1 is resolved
Children
No Data