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

3 years ago

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

3 years ago

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

3 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #2253 Merged 3 years ago