Part of lp.bugs.mail.handler View In Hierarchy
It only handles mail sent to new@... and $bugid@..., where $bugid is a positive integer.
Method | getCommands | Returns a list of all the commands found in the email. |
Method | extractAndAuthenticateCommands | Extract commands and handle special destinations. |
Method | process | See IMailHandler. |
Method | sendHelpEmail | Send usage help to to_address . |
Method | processAttachments | Create Bugattachments for "reasonable" mail attachments. |
Method | appendBugComment | Append the message text to the bug comments. |
Method | notify_bug_event | Undocumented |
Method | notify_bugtask_event | Undocumented |
Method | handleNoAffectsTarget | Undocumented |
Method | handleNoDefaultAffectsTarget | Undocumented |
NB: The authentication is carried out against the current principal, not directly against the message. authenticateEmail must previously have been called on this thread.
Returns | (final_result, add_comment_to_bug, commands) If final_result is non-none, stop processing and return this value to indicate whether the message was dealt with or not. If add_comment_to_bug, add the contents to the first bug selected. commands is a list of bug commands. |
A mail attachment is stored as a bugattachment if its content type is not listed in irrelevant_content_types.