diff options
Diffstat (limited to 'Mailman/docs/message.txt')
| -rw-r--r-- | Mailman/docs/message.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Mailman/docs/message.txt b/Mailman/docs/message.txt index 601b871bf..8f1e9c17c 100644 --- a/Mailman/docs/message.txt +++ b/Mailman/docs/message.txt @@ -13,10 +13,8 @@ instance, and then calls the .send() method on this object. This method requires a mailing list instance. >>> from Mailman.configuration import config - >>> from Mailman.database import flush - >>> mlist = config.db.list_manager.create('_xtest@example.com') + >>> mlist = config.db.list_manager.create(u'_xtest@example.com') >>> mlist.preferred_language = u'en' - >>> flush() The UserNotification constructor takes the recipient address, the sender address, an optional subject, optional body text, and optional language. |
