Hi
I was wondering if anyone has problem sending emails using BPM
I can send sales acknowledgements and other report via email but doesn’t work from within BPM
any advice would be appreciated
Thanks
BPM runtime caught an unexpected exception of ‘SmtpException’ type.
See more info in the Inner Exception section of Exception Details.
Exception caught in: Epicor.ServiceModel
Error Detail
Description: BPM runtime caught an unexpected exception of ‘SmtpException’ type.
See more info in the Inner Exception section of Exception Details.
Program: System.dll
Method: CheckResponse
Original Exception Type: SmtpException
Framework Method: A002_SendMailAction
Framework Line Number: 0
Framework Column Number: 0
Framework Source: A002_SendMailAction at offset 2031 in file:line:column :0:0
Server Trace Stack: at System.Net.Mail.DataStopCommand.CheckResponse(SmtpStatusCode statusCode, String serverResponse)
at System.Net.Mail.DataStopCommand.Send(SmtpConnection conn)
at System.Net.ClosableStream.Close()
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at Epicor.Customization.Bpm.BO7B67BDDE79A7465CAA412F20A8914A0C.PreUpdatePreProcessingDirective_Email_to_planning_for_RMA_Supplier_98CB0EC0A9954CFDA1D4C4409DFBA926.A002_SendMailAction()
at Epicor.Customization.Bpm.BO7B67BDDE79A7465CAA412F20A8914A0C.PreUpdatePreProcessingDirective_Email_to_planning_for_RMA_Supplier_98CB0EC0A9954CFDA1D4C4409DFBA926.ExecuteCore()
at Epicor.Customization.Bpm.DirectiveBase`3.Execute(TParam parameters) in c:_Releases\ICE\3.1.400.38\Source\Server\Internal\Lib\Epicor.Customization.BPM\DirectiveBase.Generic.cs:line 160
Client Stack Trace
at Epicor.ServiceModel.Channels.ImplBase`1.ShouldRethrowNonRetryableException(Exception ex, DataSet[] dataSets)
at Erp.Proxy.BO.DMRProcessingImpl.PreUpdate(DMRProcessingDataSet ds, Boolean& requiresUserInput)
at Erp.Adapters.DMRProcessingAdapter.PreUpdate(Boolean& requiresUserInput)
Inner Exception
Transaction failed. The server response was: 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:B7010000, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:B9200000, 1.36674:0E000000, 1.61250:00000000, 1.45378:BE200000, 1.44866:F4030000, 16.55847:85100000, 17.43559:0000000004020000000000000000000000000000, 20.52176:140F93891D00000000000000, 20.50032:140F93898D1770200A003612, 0.35180:D5010000, 255.23226:DD010000, 255.27962:0A000000, 255.27962:0E000000, 255.31418:140F9389, 0.35250:0A000000, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:70000000, 1.36674:32000000, 1.61250:00000000, 1.45378:75000000, 1.44866:01000000, 16.55847:DC000000, 17.43559:0000000030030000000000000000000000000000, 20.52176:140F93891D0000000A00B480, 20.50032:140F93898D17702003000136, 0.35180:0A00B580, 255.23226:3F000000, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:4800D13D, 4.21921:DC040000, 255.27962…