Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Populate sendmail_path with path to mailhog #65

Open
jesconstantine opened this issue Jan 23, 2019 · 0 comments
Open

Populate sendmail_path with path to mailhog #65

jesconstantine opened this issue Jan 23, 2019 · 0 comments

Comments

@jesconstantine
Copy link

jesconstantine commented Jan 23, 2019

Based on slack conversation starting with: https://palantirnet.slack.com/archives/C88TK42TY/p1548186659057700

@becw determined that the mail-related errors we were seeing were due to an unset sendmail_path setting in the vm's php.ini (at least for PHP 7.1)

For the cilver lining project, I followed these steps to fix it:

  • set it to /usr/local/bin/mailhog sendmail [email protected] (following the step from this gist, using the out put from which mailhog to get the path to mailhog)
  • restarted apache with /etc/init.d/apache2 restart and authenticating with vagrant when prompted

Seems like setting the sendmail_path value here would be helpful: https://github.com/palantirnet/devkit/blob/develop/provisioning/vars/dev/php.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant