#2252 koji-gc: sending mail will fail if no smtp_host specified
Closed: Fixed a year ago by tkopecek. Opened a year ago 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

a year ago

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

a year ago

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

a year ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #2253 Merged a year ago