Hi There
Hope this helps aaaaa lot of people using office 365
after making the email working i still was not happy with the results as office sometimes blicked the emails… so i found a better way of doing this.
1- make sure you have a smtp relay server in windows iis, and a connector in office 365
2 - in office 365, go to admin - settings - domains - click on your domain