I am trying to configure office365 as a SMTP mail server. I get following error

I am trying to configure office365 as a SMTP mail server. I get following error when I run the process model containing Send Email smart service, smart service becomes unattended and waits infinitely.

2015-11-12 23:53:23,223 [Appian Work Item - 3 - ProcessExec02 : UnattendedJavaActivityRequest] ERROR com.appiancorp.ap2.util.Mail - Could not send mail via smtp.office365.com:587 to Amit L <amitkumarl@incessanttechnologies.com>
2015-11-12 23:53:23,226 [Appian Work Item - 3 - ProcessExec02 : UnattendedJavaActivityRequest] WARN com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=536878154, classname=com.appiancorp.process.runtime.activities.SendEmailActivity. This action will be retried until it succeeds or the maximum retry period is reached. Details: error.email_failure

I have seen other post on office365 and could not find a resolution for office365. Please see attached application server logs ...

server (2).log

OriginalPostID-178577

OriginalPostID-178577

  Discussion posts and replies are publicly visible

Parents
  • 7.2 is very old and no longer supported. I suggest you encourage the customer to upgrade, but yes, this will work on 7.2 too.

    conf.mailhandler.ntf_sndr_addr=myuser@mycompany.com
    conf.mailhandler.email.domain=mycompany.com
    conf.mailhandler.mail.smtp.host=smtp.office365.com:587
    conf.mailhandler.mail.smtp.auth=true
    conf.mailhandler.mail.user=myuser@mycompany.com
    conf.mailhandler.mail.smtp.starttls.enable=true
    conf.mailhandler.mail.smtp.starttls.required=false
Reply
  • 7.2 is very old and no longer supported. I suggest you encourage the customer to upgrade, but yes, this will work on 7.2 too.

    conf.mailhandler.ntf_sndr_addr=myuser@mycompany.com
    conf.mailhandler.email.domain=mycompany.com
    conf.mailhandler.mail.smtp.host=smtp.office365.com:587
    conf.mailhandler.mail.smtp.auth=true
    conf.mailhandler.mail.user=myuser@mycompany.com
    conf.mailhandler.mail.smtp.starttls.enable=true
    conf.mailhandler.mail.smtp.starttls.required=false
Children
No Data