setup mailserver with SMTP:TLS for office 365 in bugzilla

Hi,

I'm using bugzilla 4.4 version with some mail server(not office or outlook) the bugzilla mail alerts are working fine, but my mail server has been changed to office 365. which uses TLS encryption. when my bugzilla is unable to send mails. Please help me  

my Mailer.pm file has the following for SMTP section.

if ($method eq "SMTP") {
my ($host, $port) = split(/:/, Bugzilla->params->{'smtpserver'}, 2);
$transport = Bugzilla->request_cache->{smtp} //=
Email::Sender::Transport::SMTP::Persistent->new({
host => $host,
defined($port) ? (port => $port) : (),
sasl_username => Bugzilla->params->{'smtp_username'},
sasl_password => Bugzilla->params->{'smtp_password'},
helo => $hostname,
ssl => Bugzilla->params->{'smtp_ssl'},
debug => Bugzilla->params->{'smtp_debug'} });
}

Hi KADALIRAJA,

I understand that you couldn’t receive alerts after changing to Office 365. How did you configure your Office 365 account in the Bugzilla application?

According to my experience, to configure an SMTP relay in Office 365, you need the following:
• A user who has an Exchange Online mailbox
• The SMTP set to port 587
• Transport Layer Security (TLS) encryption enabled
• The mailbox server names
 
You need to configure the above items on the Bugzilla application. Please note: the mailbox server name is Exchange Online account.

For detailed information, see How to set up a multifunction device or application to send email using Office 365.

If all settings are correct and the issue persists, please let me know, so we can provide further assistance.

Best Regards,

Toby

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated November 10, 2023 Views 1,132 Applies to: