The Tigris site will receive a major upgrade the evening of Monday, December 1, beginning at 8:30 pm PST. Downtime is projected to be about ten hours.
Further details in the announcement
Class InlineAttachmentEmailView
View --+
|
BaseEmailView --+
|
InlineAttachmentEmailView
Sends out an email with the diff of the commit attached as a file
This view has several properties:
-
server (required) - the mail server to relay through
-
subject (required) - the subject line (e.g. "commit:
$model.greatestCommonDirectory()")
-
from (required) - the from email address (e.g.
"$model.user@yourdomain.com")
-
to (required) - a comma-separated list of email addresses to send
to
-
header (optional) - text to put at the beginning of the email
-
footer (optional) - text to put at the end of the email
Contributed by Juan F. Codagnone
<juam@users.sourceforge.net>
| Method Summary |
| |
__init__(self,
name,
model)
Initializes the the username to None, header, footer, and
rfc_header |
| |
generateBody(self,
text)
Generates the email with the patch inlined |
| Inherited from BaseEmailView |
| |
__getitem__(self,
name)
Used to get the 'from' attribute (as it is a keyword) |
| |
execute(self)
Sends the email with commit information |
| |
generateSubject(self,
text)
|
| Inherited from View |
| |
dumpToTestFile(self,
text)
Writes out text to a file called SubClassName.txt |
| |
isTesting(self)
Return whether acceptance testing is being performed |
| |
testFilePath(self)
Return the path of the test dump file |
__init__(self,
name,
model)
(Constructor)
Initializes the the username to None, header, footer, and
rfc_header
The username is default to None, header to 'This is a multi-part
message in MIME format.', footer to '' and rfc_header to the MIME
boundary.
-
- Overrides:
commitmessage.views.email.BaseEmailView.__init__
|
generateBody(self,
text)
Generates the email with the patch inlined
Should probably use the email.MIMEImage module, but this just
works.
-
|