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

SMTP mail driver won't send emails #30

Closed
fernandoneto opened this issue Jan 12, 2016 · 8 comments
Closed

SMTP mail driver won't send emails #30

fernandoneto opened this issue Jan 12, 2016 · 8 comments
Assignees
Milestone

Comments

@fernandoneto
Copy link

Im trying to configure cachethq to send emails to subscrivers, but emails never reach destiny.
this is how my docker-compose.yml configuration

mysql:
  restart: always
  ports:
  - "3306:3306"
  environment:
    MYSQL_ROOT_PASSWORD: password
    MYSQL_USER: cachethq
    MYSQL_PASSWORD: password
    MYSQL_DATABASE: cachethq
  image: mysql:latest
  stdin_open: true

cachethq:
  restart: always
  ports:
  -  "8000:8000"
  environment:
    DB_DRIVER: mysql
    DB_HOST: mysql-server
    DB_DATABASE: cachethq
    DB_USERNAME: root
    DB_PASSWORD: password
    MAIL_DRIVER: smtp
    MAIL_HOST: mail.example.com
    MAIL_PORT: '25'
    MAIL_USERNAME: [email protected]
    MAIL_PASSWORD: somepassword
    MAIL_ADDRESS: [email protected]
    MAIL_NAME: [email protected]
  image: cachethq/docker:latest
  links:
  - mysql:mysql-server
  stdin_open: true

Im using my email server.

@djdefi
Copy link
Contributor

djdefi commented Jan 12, 2016

Looks like we don't actually setup the requirements for the SMTP driver (postfix). Will need to add this into the base image.

@djdefi djdefi changed the title don't send emails SMTP mail driver won't send emails Jan 12, 2016
@djdefi
Copy link
Contributor

djdefi commented Jan 27, 2016

Until we get around to adding postifx to the image, I recommend using something like Mailgun or Amazon SES to provide external SMTP.

@djdefi djdefi removed the bug label Jan 27, 2016
@djdefi djdefi added this to the 2.1.0 milestone Jan 31, 2016
@djdefi
Copy link
Contributor

djdefi commented Apr 12, 2016

May revisit this at a later time, but for now please just use Mailgun for sending emails.

@iameli
Copy link

iameli commented Sep 10, 2016

Is this still true?

@jchapm
Copy link

jchapm commented Nov 1, 2016

I believe this is still an issue. I've tried versions 2.3.6 - 2.3.9 and it is present in all of them. No emails are being sent, and there is no subscribe button.

@f7medina
Copy link

Is there a solution for this issue anywhere? thanks for the help in advance.

@elpatron68
Copy link

Is MAIL_DRIVER=smtp still a problem?

@Whisper40
Copy link

Still a problem
smtp is not working on my side (with personal smtp or with outlook)
Connection could not be established with host smtp-mail.outlook.com :stream_socket_client(): unable to connect to tcp://smtp-mail.outlook.com:587 (Operation timed out)

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

No branches or pull requests

7 participants