Welcome to the new Tigris! There have been some changes to the administration of mail lists. Project and list owners should check out the Discussion Services release notes.
Class TigrisStyleEmailView
View --+
|
BaseEmailView --+
|
TigrisStyleEmailView
Sends out an email in a style mimicking the Tigris commit email format
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
-
cc (optional) - a comma-separated list of email addresses to cc
to
-
header (optional) - text to put at the beginning of the email
-
footer (optional) - text to put at the end of the email
| Method Summary |
| |
generateBody(self,
text)
Return a string for the body of the email |
| |
printFilesAndDirectories(self,
text,
action)
|
| Inherited from BaseEmailView |
| |
__init__(self,
name,
model)
Initializes the the SMTP username to None, header to '', and footer to
'' |
| |
__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 |
generateBody(self,
text)
-
- Returns:
-
a string for the body of the email
|