✓ Can connect to mailhog:1025
Sending to: test@example.ca
Subject: Test Email from Bingo Canada 🇨🇦
✗ Failed to send email
Error details:
Array
(
[type] => 2
[message] => mail(/proc/self/fd/2): Failed to open stream: No such file or directory
[file] => /var/www/html/public/test-mailhog.php
[line] => 41
)
SMTP: mailhog smtp_port: 1025 sendmail_path: /usr/bin/env cat > /proc/self/fd/2 mail.add_x_header: 1
Running: cat /tmp/mailtestc9fykx | /usr/sbin/sendmail -t -i -S mailhog:1025 2>&1
✗ Direct sendmail command failed
sendmail: too many arguments