Make WordPress Core

Opened 5 years ago

Last modified 9 months ago

#48060 new enhancement

Save sent emails in local Docker environment

Reported by: pierlo's profile pierlo Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 5.3
Component: Build/Test Tools Keywords: has-patch
Focuses: Cc:

Description

It would be great to be able to save emails to disk for review and testing.

cc @clorith @azaozz.

Attachments (1)

48060.diff (2.1 KB) - added by pierlo 5 years ago.

Download all attachments as: .zip

Change History (4)

@pierlo
5 years ago

#1 @desrosj
4 years ago

#49305 was marked as a duplicate.

#2 @desrosj
4 years ago

  • Milestone changed from Awaiting Review to Future Release
  • Summary changed from Save sent emails to disk to Save sent emails in local Docker environment

#3 @johnbillion
9 months ago

  • Keywords dev-feedback removed

I'd really like to see MailHog added to the local development environment. The mailtodisk script in the patch on this ticket will result in the disk usage gradually filling up (albeit slowly).

Mailhog stores mails in volatile memory that gets cleared when the environment is restarted, provides a nice UI that works like an inbox, gives you the option to clear all messages, and includes a failure testing feature (the chaos monkey).

Note: See TracTickets for help on using tickets.