#2252 koji-gc: sending mail will fail if no smtp_host specified
Closed: Fixed by tkopecek. Opened by julian8628.

if options.smtp_host is None or '' smtplib won't try connect(). It will cause the this function to fail with Error

we could try

  1. try s.connect() or init smtplib.SMTP() with host='localhost' if necessary
  2. set the default of options.smtp_host to 'localhost' explicitly

Metadata Update from @julian8628:
- Custom field Size adjusted to None
- Issue set to the milestone: 1.22
- Issue tagged with: bug

Metadata Update from @julian8628:
- Issue tagged with: usability

Metadata Update from @jcupova:
- Issue tagged with: testing-done, testing-ready

Commit c4f30abd fixes this issue

Commit 53982e3b fixes this issue

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/2252

Please continue any further discussion there.

Metadata
Related Pull Requests