getfider / fider

Open platform to collect and prioritize feedback
https://fider.io
GNU Affero General Public License v3.0
2.75k stars 620 forks source link

[BUG] SendGrid Not Sending Email #1148

Closed matheus-rodrigues00 closed 2 months ago

matheus-rodrigues00 commented 9 months ago

Fider Cloud or Self Hosted Self Hosted FIder, version 0.21.1

Describe the bug We're not able to send e-mail confirmation with SendGrid.

To Reproduce Steps to reproduce the behavior: Just follow Docker installation from docs and setup STMP configuration for SendGrid. Here's the SMTP part:

EMAIL_NOREPLY: my@email.noreply
EMAIL_SMTP_HOST: smtp.sendgrid.net
EMAIL_SMTP_PORT: 587
EMAIL_SMTP_USERNAME: apiKey
EMAIL_SMTP_PASSWORD: SG.myApiKey
EMAIL_SMTP_ENABLE_STARTTLS: 'true'

Expected behavior Should send confirmation e-mail to the provided email

matheus-rodrigues00 commented 9 months ago

The final part of the error log is as the below, it keeps running for like 300 seconds...

- github.com/getfider/fider/app/services/email/smtp.sendMail:105 (app/pkg/errors/errors.go:39)
- failed to send email with template signup_email (app/services/email/smtp/smtp.go:105)
- EOF
matheus-rodrigues00 commented 9 months ago

@goenning S.O.S.

taiebnoe commented 9 months ago

@goenning SOS

matheus-rodrigues00 commented 9 months ago

@taiebnoe we only managed to use w/ Google SMTP.

Iam1337 commented 9 months ago

Same here. Docker, tag stable. I use a custom email service over SMTP. A self-hosted solution like Wiki.js sends mail normally, but Fider thinks for a long time and returns EOF.

Temporarily switched to tag main, where the current version is 202205082055. Sending mails worked.