Hi there,
I'm currently Microsoft 365 Exchange Online, to sent emails from our app developed in PHP, i'm able to sent emails from one user. but since this is a register app, i need to be able to sent emails from other emails.
here is the example:
domain register at Office365: example.com
email account to connect to Exchange: noreply@example.com
if i sent email from any other account ending at @example.com(the domain registered) all work perfectly
Some clients that use or app needs to sent email from his email but without setup his connection example:
user email: david@ricmexico.com
user email: daniel@hotmail.com
user email mario@onlineshare.com
When i try to sent message on behalf of an email that is not from our domain(@example.com) the server rejected the message and says: this email is not allow to sent email from david@ricmexico.com
How could i add and exception to allow one especific email sent message onbehalf of external domains?
Thank you in advance,