mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2025-02-20 01:35:56 +00:00
mention using sendmail and PHP config
This commit is contained in:
parent
2789ba59d7
commit
82292eb102
1 changed files with 13 additions and 0 deletions
13
README.md
13
README.md
|
@ -60,6 +60,19 @@ It redirects mail to MailHog using SMTP.
|
|||
|
||||
You can also use `MailHog sendmail ...` instead of the separate mhsendmail binary.
|
||||
|
||||
Alternatively, you can use your native `sendmail` command by providing `-S`, for example:
|
||||
|
||||
```
|
||||
/usr/sbin/sendmail -S mail:1025
|
||||
```
|
||||
|
||||
For example, in PHP you could add either of these lines to `php.ini`:
|
||||
|
||||
```
|
||||
sendmail_path = /usr/local/bin/mhsendmail
|
||||
sendmail_path = /usr/sbin/sendmail -S mail:1025
|
||||
```
|
||||
|
||||
#### Web UI
|
||||
|
||||

|
||||
|
|
Loading…
Add table
Reference in a new issue