Email allegedly sent without SMTP settings


(Dan Dascalescu) #1

I’ve just spawned a new instance of Discourse and didn’t have valid settings for DISCOURSE_SMTP_*.

However, signing up the admin user allegedly worked:

(of course, no email had been sent)

Same problem with re-sending the activation email:


(omfg) #2

Could it be because only DISCOURSE_SMTP_ADDRESS is checked to exist?


(Jeff Atwood) #3

What exact settings did you have? I don’t feel this is a bug, more of GIGO.


(Sam Saffron) #4

Mail is sent in a background job, there is no simple way of alerting an end user about this kind of issue

We could probably raise the volume for admins

It is flag worthy when mail suddenly stops working


(Jeff Atwood) #5

That would already be covered by logster escalating alerts for periods with lots and lots of recurring errors, the work that @tgxworld is doing.


(Dan Dascalescu) #6

Exactly. I had all the other SMTP settings commented out, so in theory this is WAI, but in practice most SMTP servers will require user/pass too.