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
  • We have implemented the steps in the similar way but we are facing issue where Appian 7.2 is unable to send mail via SMTP.OFFICE365.COM mail server with the below error :
    ==========================================================
    08:48:36,285 INFO [stdout] (default-short-running-threads-threads - 5) 2015-11-16 08:48:36,284 [default-short-running-threads-threads - 5] ERROR com.appiancorp.ap2.util.Mail - Could not send mail via smtp.office365.com:587 to
    08:48:36,294 INFO [stdout] (default-short-running-threads-threads - 5) 2015-11-16 08:48:36,292 [default-short-running-threads-threads - 5] ERROR com.appiancorp.process.runtime.activities.SendEmailActivity - com.sun.mail.smtp.SMTPSendFailedException: [EOF]
    08:48:36,298 INFO [stdout] (default-short-running-threads-threads - 5) com.sun.mail.smtp.SMTPSendFailedException: [EOF]
    08:48:36,344 INFO [stdout] (default-short-running-threads-threads - 5) 2015-11-16 08:48:36,344 [default-short-running-threads-threads - 5] ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=25, classname=com.appiancorp.process.runtime.activities.SendEmailActivity
    08:48:36,345 INFO [stdout] (default-short-running-threads-threads - 5) com.appiancorp.suiteapi.process.framework.ActivityExecutionException: Failed to send email
    08:48:36,345 INFO [stdout] (default-short-running-threads-threads - 5) at com.appiancorp.process.runtime.activities.SendEmailActivity.throwException(SendEmailActivity.java:512)


    Attaching Outbound mail configuration and server.log files for more details.

    outbound mail

    server.log

Reply
  • We have implemented the steps in the similar way but we are facing issue where Appian 7.2 is unable to send mail via SMTP.OFFICE365.COM mail server with the below error :
    ==========================================================
    08:48:36,285 INFO [stdout] (default-short-running-threads-threads - 5) 2015-11-16 08:48:36,284 [default-short-running-threads-threads - 5] ERROR com.appiancorp.ap2.util.Mail - Could not send mail via smtp.office365.com:587 to
    08:48:36,294 INFO [stdout] (default-short-running-threads-threads - 5) 2015-11-16 08:48:36,292 [default-short-running-threads-threads - 5] ERROR com.appiancorp.process.runtime.activities.SendEmailActivity - com.sun.mail.smtp.SMTPSendFailedException: [EOF]
    08:48:36,298 INFO [stdout] (default-short-running-threads-threads - 5) com.sun.mail.smtp.SMTPSendFailedException: [EOF]
    08:48:36,344 INFO [stdout] (default-short-running-threads-threads - 5) 2015-11-16 08:48:36,344 [default-short-running-threads-threads - 5] ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=25, classname=com.appiancorp.process.runtime.activities.SendEmailActivity
    08:48:36,345 INFO [stdout] (default-short-running-threads-threads - 5) com.appiancorp.suiteapi.process.framework.ActivityExecutionException: Failed to send email
    08:48:36,345 INFO [stdout] (default-short-running-threads-threads - 5) at com.appiancorp.process.runtime.activities.SendEmailActivity.throwException(SendEmailActivity.java:512)


    Attaching Outbound mail configuration and server.log files for more details.

    outbound mail

    server.log

Children
No Data