Getting Below error
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. 16.55847:3F150000, 17.43559:0000000094000000000000000000000000000000, 20.52176:140F0087100010100300170E, 20.50032:140F0087801710100A007781, 0.35180:E7020000, 255.23226:0A008440, 255.27962:0A000000, 255.27962:0E000000, 255.31418:0A000000, 16.55847:D4000000, 17.43559:0000000070010000000000000100000000000000, 20.52176:140F00871000101003000136, 20.50032:140F0087801710100A00DA36, 0.35180:44000000, 255.23226:4800D13D, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:0A003A66, 4.21921:DC040000, 255.27962:FA000000, 255.1494:64000000, 0.38698:0F010480, 0.37692:09000100, 0.37948:09000100, 5.33852:00000000534D545000000100, 4.56248:DC040000, 7.40748:010000000000010B09000100, 7.57132:000000000000000009000100, 1.63016:32000000, 4.39640:DC040000, 8.45434:8AEB5FC18FDD04469A58AFCE0695E5B000000000, 5.10786:0000000031352E32302E313739...
I have given office 365 SMTP settings. Test message sending successfully, but e-mail action getting failed when event generate.