SMPT Server: Use external smtp server
My hostname: company com
My origin: freepbx.sangoma.local
My domain: company com
Provider: Office 365
Username: test@company com
Password: (password of this email - test@company com)
Applications → Extensions → Options of my extension number (voicemails are enable and saved for this) → Voicemail
Email Address: email where i want to send notifications
Settings → Voicemail Admin → Settings → Email Config
Server Email: test@company com
Is my configuration correct? Do I have to add more configuration somewhere?
(I removed dots before ‘com’, as a new user I cant send links)
In the Email Setup page, click on “Debug” at the bottom. It should let you test your SMTP settings. Make sure that works.
I’m using the built-in smtp, and that is working fine for us. Can you try switching to the built-in to see if that works?
As for the extension, for me, each extension that wants voicemail to email, i would go to the voicemail tab of each extension and enable “Email attachment”
Pretty sure M365 doesn’t allow password auth for SMTP/Realy purposes, especially if security defaults are enabled and the account has MFA enabled on it.
The GUI email setup has not worked right for years, despite being part of the SysAdminPro paid module. If you want it to work correctly you’ll need to use postfix to rewrite the from: address that gets incorrectly put onto emails. Lots and lots of info here about it.