Whilst setting up a server, we had to configure database mail. Usually a straight forward exercise but it ended up being a lot more trouble than I had anticipated.
This was because mail was being handled through Office 365.
Firstly the server needs to...