I’m trying to send email using SMTP via smtp.office365.com, and I get this error:
554 5.2.252 SendAsDenied; @.** not allowed to send as gitlab@71e887c79e9a; STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message