Skip to content

added dummy log option to the docs for email sending class #979

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 4, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/general/system-configuration-overrides.md
Original file line number Diff line number Diff line change
Expand Up @@ -1840,13 +1840,22 @@ Set the system's method for sending email.
| mail | PHP Mail |
| smtp | SMTP |
| sendmail | Sendmail |
| dummy | Log |

Example Usage:

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

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

## `dummy_mail_path`

Used when mail_protocol is set to dummy. This is the path to write the email logs to. Default is `/tmp`

Example Usage:

$config['dummy_mail_path'] = '/mail-log';

## `max_logged_searches`

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