Skip to content

Commit 2f91eaf

Browse files
authored
Merge pull request #979 from ExpressionEngine/update-email-config
added dummy log option to the docs for email sending class
2 parents 21d0385 + 55753d0 commit 2f91eaf

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/general/system-configuration-overrides.md

+9
Original file line numberDiff line numberDiff line change
@@ -1840,13 +1840,22 @@ Set the system's method for sending email.
18401840
| mail | PHP Mail |
18411841
| smtp | SMTP |
18421842
| sendmail | Sendmail |
1843+
| dummy | Log |
18431844

18441845
Example Usage:
18451846

18461847
$config['mail_protocol'] = 'smtp';
18471848

18481849
**Also found in CP:** `Settings --> Outgoing Email`: [Email Protocol](control-panel/settings/email.md#protocol)
18491850

1851+
## `dummy_mail_path`
1852+
1853+
Used when mail_protocol is set to dummy. This is the path to write the email logs to. Default is `/tmp`
1854+
1855+
Example Usage:
1856+
1857+
$config['dummy_mail_path'] = '/mail-log';
1858+
18501859
## `max_logged_searches`
18511860

18521861
Set the maximum number of most recent search terms to save in the [search log](#enable_search_log).

0 commit comments

Comments
 (0)