Errors in triggering test mail


#1

Hi,
I am getting errors while triggering test mail. They are as follows:

port 25 and 587
#################################### SMTP / Emailing #####################
[smtp]
enabled = true
host =smtp.office365.com:25
user =companydomain\myusername
password =mypassword
;cert_file =
;key_file =
skip_verify = true
from_address = [myusername@companydomain.com]
from_name = Grafana

Error:
t=2019-03-12T23:13:41-0700 lvl=eror msg=“Failed to send alert notification email” logger=alerting.notifier.email error=“gomail: could not send email 1: 554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 16.55847:1D060000, 17.43559:0000000094000000000000000000000000000000, 20.52176:140FAD8609004010F1030000, 20.50032:140FAD8679174010F1030000, 0.35180:E7020000, 255.23226:F1030000, 255.27962:0A000000, 255.27962:0E000000, 255.31418:00000000, 16.55847:B4000000, 17.43559:00000000A0010000000000002300000000000000, 20.52176:140FAD860900001003000136, 20.50032:140FAD867917F01F0A000000, 0.35180:44000000, 255.23226:00170000, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:140FAD86, 4.21921:DC040000, 255.27962:FA000000, 255.1494:64000000, 0.38698:0F010480, 0.37692:02010480, 0.44092:07000100, 0.41232:07000100, 0.60208:07000100, 0.37136:07000100, 0.34608:07000100, 0.55056:07000100, 0.42768:07000100, 0.56112:07000100, 0.52807:07000100, 4.33016:DC040000, 7.40748:0100000000CFC8BE3A333431, 7.57132:00000000000000003962382D, 1.63016:32000000, 4.39640:DC040000, 8.45434:AA34016F382E8A4ABAA49B0E7AE8340207000100, 5.10786:0000000031352E32302E313730392E3030393A484B30505230334D42333933383A33343136356439312D373266632D343962382D623630342D33666561373062333838623800083000000000, 255.1750:AF000000, 255.31418:03000336, 0.22753:B4000000, 255.21817:DC040000, 4.60547:DC040000, 0.21966:0A003267, 4.30158:DC040000 [Hostname=HK0PR03MB3938.apcprd03.prod.outlook.com]”

Can you please help me in resolving this.
Thanks in advance.