Skip to content

dockette/phpmailer

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

PHPMAILER

Dump emails send via php native function mail().

Install

Download this simple script and place to your path.

curl -o /usr/local/bin/phpmailer https://raw.githubusercontent.com/dockette/phpmailer/master/phpmailer

Configuration

Default path for storing emails is /var/log/mails, but you can change it by environment variable PHPMAILER_PATH.

Environment

export PHPMAILER_PATH=/srv

PHP

; Mailer
sendmail_path = /usr/local/bin/phpmailer

PHP-FPM

php_admin_value[sendmail_path] = /usr/local/bin/phpmailer

About

My custom PHP mailer script for Docker containers

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages