send mail setttings magento mailhog code example

Example 1: mail sending setting magneto for mailhog

php -r "\$from = \$to = '[email protected]'; \$x = mail(\$to, 'testing from php cli', 'Hello World', 'From: '. \$from); var_dump(\$x);"

Example 2: mail sending setting magneto for mailhog

Copysendmail_path = '/usr/local/bin/mhsendmail --smtp-addr="mailhog-cont:1025"'
sendmail_path = '/usr/local/bin/mhsendmail --smtp-addr="mailhog-cont:1025"'

Example 3: mail sending setting magneto for mailhog

Copysendmail_path = '/usr/local/bin/mhsendmail --smtp-addr="mailhog-cont:1025"'

Tags:

Php Example