I m trying to send email with following configuration
- Host:
smtp.office365.com
- port: 587
- user:
[email protected]
- pass: "mypassword"
I'm getting the following exception:
550 5.7.1 Client does not have permissions to send as this sender
I have gone through many forums that told me to set send as permission for the mailbox but I m not able to find any such configuration in Outlook web app, or do I need to configure it somewhere else and if it so then where? I have only used above configuration for sending mails and have not done any config with outlook web app. What all I need to change and configure in my outlook web app?