[RESOLVED]Office 365 SMTP

Moderator: crythias

Locked
jimmers1972
Znuny newbie
Posts: 14
Joined: 30 Oct 2014, 17:59
Znuny Version: 4.0.5
Real Name: Jim Tambling
Company: Sportech Racing//Digital Europe

[RESOLVED]Office 365 SMTP

Post by jimmers1972 »

Hi

I am trying to configure SMTPTLS for sending email via office365. I am getting errors:

Code: Select all

[Fri Mar  6 22:13:41 2015] -e: Version string '-1, set by base.pm' contains invalid data; ignoring: '-1, set by base.pm' at /opt/otrs//Kernel/System/Log.pm line 197.
ERROR: OTRS-CGI-20 Perl: 5.10.1 OS: linux Time: Fri Mar  6 22:13:41 2015

 Message: SMTP authentication failed: 5355.7.3 Authentication unsuccessful
! Enable Net::SMTP debug for more info!

 RemoteAddress: 10.248.3.54
 RequestURI: /otrs/index.pl

 Traceback (4493): 
   Module: Kernel::System::Email::SMTP::Send Line: 123
   Module: Kernel::System::Email::Send Line: 725
   Module: Kernel::System::Ticket::Article::ArticleSend Line: 2553
   Module: Kernel::Modules::AgentTicketCompose::Run Line: 786
   Module: Kernel::System::Web::InterfaceAgent::Run Line: 987
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 41
   Module: (eval) (v1.99) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.99) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31

ERROR: OTRS-CGI-20 Perl: 5.10.1 OS: linux Time: Fri Mar  6 22:13:41 2015

 Message: Impossible to send message to: jimmers.inbox@gmail.com .

 RemoteAddress: 10.248.3.54
 RequestURI: /otrs/index.pl

 Traceback (4493): 
   Module: Kernel::System::Ticket::Article::ArticleSend Line: 2560
   Module: Kernel::Modules::AgentTicketCompose::Run Line: 786
   Module: Kernel::System::Web::InterfaceAgent::Run Line: 987
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 41
   Module: (eval) (v1.99) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.99) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31
I know the authentication settings are correct so I want to enable debugging. I changed /Kernel/System/Email.pm from

Code: Select all

$Self->{Debug} = $Param{Debug} || 0;
to

Code: Select all

$Self->{Debug} = $Param{Debug} || 1;
But I don't seem to get any more info.

Thanks

Jim
Last edited by jimmers1972 on 07 Mar 2015, 21:36, edited 1 time in total.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Office 365 SMTP

Post by crythias »

$Self->{Debug} =1;
Should be set in Config.pm.

Bad auth is bad auth reported by auth server
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
jimmers1972
Znuny newbie
Posts: 14
Joined: 30 Oct 2014, 17:59
Znuny Version: 4.0.5
Real Name: Jim Tambling
Company: Sportech Racing//Digital Europe

Re: Office 365 SMTP

Post by jimmers1972 »

So it was the password. For some reason my browser was insisting on using a different password for SendmailModule::AuthPassword. I had to clear the cache in my browser to so it would accept the new password. Strange, but it's now fixed.

Regards

Jim
Locked