mail: Add signals to interact with mail processing
Signals added: * mail.received Called after the mail is received into the system and before it is processed by the mail system. This signal is useful to do header injection. Raw message/rfc822 included in 'raw' key in the info * mail.decoded Called after the initial decoding of the message. The header and bodies are broken out, however, Unicode decoded may not have been performed yet. This signal is useful to affect the interpretation of the message, such as TNEF processing, etc. * mail.processed Called after all internal processing is completed. All Unicode processing is complete, bounce detection and other mechanisms have completed. This signal is useful to do things like attachment scanning or content filtering.
Loading
Please register or sign in to comment