Peter Spicer
|
44f9bf79c8
! This should force all outgoing email (currently at least!) to have a Message-ID. Failure to supply a message id can cause emails to be dropped as spam. sendmail itself attempts to guarantee uniqueness with a hash of microtime, but wherever feasible I've also tried to make the id both meaningful and give it something that should uniquify it. Things like newsletters, though, can't really be uniquified at sending level, so we'll just use microtime to deal with that for us.
|
il y a 10 ans |
Peter Spicer
|
0ddca017ff
! And our ever important source files, plus a little bit of consistency.
|
il y a 11 ans |
Peter Spicer
|
24d0e13eff
! Slightly stupid logic error that meant only alerts, never emails, would ever be sent. Oops.
|
il y a 11 ans |
Peter Spicer
|
7279db9588
! Let's go really crazy and let the get function actually do processing of default values as well.
|
il y a 11 ans |
Peter Spicer
|
94a9864a65
! In a little remembered fact, & has a lower precedence than == does. Which makes this rather fun otherwise.
|
il y a 11 ans |
Peter Spicer
|
ccf8b36884
! Oops.
|
il y a 11 ans |
Peter Spicer
|
9cf5f609af
! Might help if the right variable is passed on.
|
il y a 11 ans |
Peter Spicer
|
8b2fa8620d
! And now the meat of notifying users for a new registration - the old adminNotify function should be a wrapper for creating a background task and that should do everything else, this seems to work, including sending emails.
|
il y a 11 ans |