Email Setting - SMTP office 365

Guys,

I’m having trouble setting up the other mail server that is not gmail. With gmail works fine ,but when I try setting any other SMTP do not work. I already tried office 365 and a Brazil provider Locaweb

Does anyone have any ideas.

I get this error on screen

Erro:SMTP connect() failed.
https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

and this on log

Mon Nov 16 17:08:12 2015 [10671][1][FATAL] SugarPHPMailer encountered an error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Mon Nov 16 17:36:44 2015 [12063][1][FATAL] SugarPHPMailer encountered an error: An outgoing mail server is not configured to send emails. Please configure an outgoing mail server or select an outgoing mail server for the mail account that you are using in Settings >> Mail Account.

Nobody? :frowning:

Maybe this will help:
https://suitecrm.com/forum/installation-upgrade-help/6933-after-7-4-upgrade-error-smtp-connect-failed/25415

Jyka