Skip to content
Snippets Groups Projects
Commit 79f3c6b0 authored by Jared Hancock's avatar Jared Hancock
Browse files

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.
parent 30a3d2c0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment