Open Bug 1480939 Opened 7 years ago Updated 7 years ago

Configuring SMTP email to not use SSL generates error

Categories

(Bugzilla :: Email Notifications, defect)

5.0.3
defect
Not set
normal

Tracking

()

UNCONFIRMED

People

(Reporter: almond, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0 Build ID: 20180704192850 Steps to reproduce: Installed bugzilla 5.0.4 under RHEL 7.5. Note, this uses perl 5.16.3. On email configuration page, configure email to use SMTP NOT use SSL authorization. give it the name of the mailrelay machine at my university (which according to the admin for that machine, does not use SSL and does not require login or password). Actual results: Generates an error message that the object Net::SMTP::SSL does not have a quit method. Error occurs on line 370 of file Bugzilla/Config/Common.pm Cpan lists Net::SMTP::SSL as up to date with version 1.04 Expected results: It should have gone directly to the clear text SMTP on port 25. There is no need for the foreach loop on line 363 to try both SSL and clear SMTP if user has specified. Maybe change admin page so that it defaults to trying SSL, but if user selects a channel/port then respect that. Removing the SSL option from the foreach loop fixed the problem for me.
You need to log in before you can comment on or make changes to this bug.