Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 29748

Not works mailhog in Docsal

$
0
0

I have follow official documentation on https://docs.docksal.io/tools/mailhog/ But can not get mails on mailhog. In logs (fin logs -f cli) I have:

WARNING: [pool www] child 49 said into stderr: "sh: 1: /usr/local/bin/mhsendmail: not found"

My docksal.yml:

version: "2.1"
services:
mail:
  extends:
    file: ${HOME}/.docksal/stacks/services.yml
    service: mail

My script (test.php):

var_dump(mail('ds@test.com', 'test', 'test', 'From: d@test.com' . "\r\n", '-f d@test.com'));

always returns bool(false) and no mails in the mailhog dashboard. What could be wrong?


Viewing all articles
Browse latest Browse all 29748

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>