https://github.com/dockette/phpmailer
My custom PHP mailer script for Docker containers
https://github.com/dockette/phpmailer
Last synced: about 1 year ago
JSON representation
My custom PHP mailer script for Docker containers
- Host: GitHub
- URL: https://github.com/dockette/phpmailer
- Owner: dockette
- License: mit
- Created: 2016-10-10T09:33:12.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-18T15:09:53.000Z (over 9 years ago)
- Last Synced: 2025-01-12T09:47:44.830Z (about 1 year ago)
- Language: PHP
- Homepage:
- Size: 3.91 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```