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

how send real mail from php #20

Closed
rasperepodvipodvert opened this issue Nov 15, 2018 · 1 comment
Closed

how send real mail from php #20

rasperepodvipodvert opened this issue Nov 15, 2018 · 1 comment

Comments

@rasperepodvipodvert
Copy link

how send real mail from mail()?

@keopx
Copy link
Owner

keopx commented Nov 16, 2018

You can uncomment this line - ${SSMTP}:/etc/ssmtp/ssmtp.conf

Or set a custom data (remember review .env file):

environment:
      ### WARNING: Use only if you not use custom php.ini.
      ## ssmtp mail sender.
      - PHP_SENDMAIL_PATH="${PHP_SENDMAIL_PATH}"
      ## SMTP server configruation: "domain:port" | "mail" server domain is mailhog name.
      - PHP_SENDMAIL_DOMAIN=${PHP_SENDMAIL_DOMAIN}

And you can use other external platform for send email, like Google, sendgrid, amazon...

@keopx keopx closed this as completed Nov 16, 2018
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

2 participants