Hello Michael and Welcome to the forums!
I also had the same issues with Office 365, and the reason why it wont work is that LT has issues (or it's just not setup to work) with TLS encryption. So.. what you need to do is setup the SMTP feature
on your LT server and configure your LT Mail setup to point to itself for SMTP relay.
So... to set this up, do the following:
. Hate to state the obvious, but... You do NOT need to do Step 1: Install Internet Information Services (IIS)
from the guide, as it's already on your server from the LT install, BUT
[for Server 21012/R2] do make sure that the "Basic Authentication
" role/feature is enabled under IIS
> Web Server
2) Go into services.msc
and make sure that SMTP service is set to Automatic
, and STOP the service.
3) Restart the IIS Admin service and then START the SMTP Service.
4) Configure your LT Mail Setup (Dashboard > Config > System) similar to the screenshot:FYI: 10.20.92.15 is the LocalIP of my LT (and now) SMTP server.
5) TEST TEST and TEST again!
PS: NO reboot is required during this process!
PPS: Restart DBAgent to Reload DB properties (Dashboard > Config > Config > Properties) to give it a kick, if it needs it!
Oh... and another tip!
Be sure you have the EmailFromName
property set too (under Dashboard > Config > Config > Properties) as SOME mail filters WILL BLOCK your emails if they don't detect a From
Name, *especially* when going via O365! (I learnt that the hard way, of course!
) To summarize:
LabTech sends emails to an SMTP server on port 25
, and then the SMTP server sends the email to Office 365 on port 587
, as LT can't send on 587 itself.