Skip to content

pfpki: unable to send certificates by mail #5917

@nqb

Description

@nqb

Describe the bug
When I try to send a certificate by mail, I got following error message in web admin:

"gomail: could not send email 1: gomail: invalid address \"\": mail: no address","status":404

Certificate is not sent.

To Reproduce
Steps to reproduce the behavior:

  1. Configure Alerting section in PacketFence with a SMTP server, sender and recipients
  2. Configure a CA
  3. Create a template
  4. Generate a certificate based on template with an email address
  5. Send certificate by mail

Expected behavior
Certificate is sent to email configured in certificate.

Additional context
There is no SMTP server installed on my PacketFence: nothing listens on 25. However, I'm able to send emails using my SMTP server configured in Alerting section.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions