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.
|
10 gadi atpakaļ |
Peter Spicer
|
0ddca017ff
! And our ever important source files, plus a little bit of consistency.
|
11 gadi atpakaļ |
Peter Spicer
|
24d0e13eff
! Slightly stupid logic error that meant only alerts, never emails, would ever be sent. Oops.
|
11 gadi atpakaļ |
Peter Spicer
|
7279db9588
! Let's go really crazy and let the get function actually do processing of default values as well.
|
11 gadi atpakaļ |
Peter Spicer
|
94a9864a65
! In a little remembered fact, & has a lower precedence than == does. Which makes this rather fun otherwise.
|
11 gadi atpakaļ |
Peter Spicer
|
ccf8b36884
! Oops.
|
11 gadi atpakaļ |
Peter Spicer
|
9cf5f609af
! Might help if the right variable is passed on.
|
11 gadi atpakaļ |
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.
|
11 gadi atpakaļ |