Ticket #18: guide_testmode_doc.patch
| File guide_testmode_doc.patch, 1.4 kB (added by fs, 1 year ago) |
|---|
-
turbomail/documentation/guide.wiki
45 45 * `utf-8` -- Uses base64 encoding. 46 46 * `utf-8-qp` -- Configures utf-8 to use quoted-printable encoding. (Note: this is not a real character set and can only be used with !TurboMail. Note also that this setting reconfigures the global ''utf-8'' setting to use a different encoding and will effect other processes using this mechanism.) 47 47 * `mail.polling` (Default: ''False'') If enabled, configures the thread pool to poll every mail.interval seconds for new jobs. This may give performance benefits to the running application. The default behaviour is to create new threads as soon as work is enqueued, resulting in faster delivery, but greater initial load. 48 * `mail.testmode` (Default: ''False'') If enabled, configures TurboMail NOT to send any mail to the specified server. Enqueued mails will just sit in the queue. This is very useful for unit tests where no interaction with the environment should take place. 48 49 49 50 In debug mode, using a single thread with a maximum of one job can be advantageous. Having a single thread with a maximum of a single job limits !TurboMail to a single SMTP connection at a time and automatically disconnects after sending each message. 50 51
