Dummy
Last updated
Last updated
The Dummy Extension provides several placeholder type handlers to either mock operations or provide local-only usage during development. A perfect example is the DummyMailHandler
that can be use during development or staging to prevent real email messages from being sent externally.
API References:
No external dependencies
DummyMailHandler
This extension supports the following configuration settings under a [mail.dummy]
configuration section:
Setting
Description
to
Default recipient address (list, or comma separated depending on the config handler in use).
from_addr
Default sender address
cc
Default carbon-copy addresses (list, or comma separated depending on the config handler in use)
bcc
Default blind-carbon-copy addresses (list, or comma separated depending on the config handler in use)
subject
Default subject line
subject_prefix
Additional string to prepend to the subject line of all messages