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||sendHelpEmail||Send usage help to
|Method||processAttachments||Create Bugattachments for "reasonable" mail attachments.|
|Method||appendBugComment||Append the message text to the bug comments.|
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.