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

Sending mail from localhost #2490

Closed
2Belette opened this issue Apr 14, 2017 · 7 comments
Closed

Sending mail from localhost #2490

2Belette opened this issue Apr 14, 2017 · 7 comments
Labels
Support Need support? Start here. Issues will be closed if not a bug.

Comments

@2Belette
Copy link

Hi,

Anyone using the same host where Cachet is installed to send email without using external SMTP server?
What would be the best configuration for that and what would be the corresponding .env?
I made some tries but I haven't been able to make it work for now :(
Many thanks :)

@johnny-bit
Copy link

Try driver=sendmail

@2Belette
Copy link
Author

Thanks! I tried but nothing..
I have confirmed that sendmail works correctly on my server and I have sent a test mail no issue here..

is there any issue to leave null on some parameters ?
here are my parameters:

MAIL_DRIVER=sendmail
MAIL_HOST=localhost
MAIL_PORT=25
MAIL_USERNAME=null
MAIL_PASSWORD=null
[email protected]
MAIL_NAME="mail cachet"
MAIL_ENCRYPTION=null

any log fil I can't take a look on Cachet to get more information?
many thanks

@jbrooksuk
Copy link
Member

That should be all you need... Try running rm -rf bootstrap/cache{,t}/*

@jbrooksuk jbrooksuk added the Support Need support? Start here. Issues will be closed if not a bug. label Apr 24, 2017
@2Belette
Copy link
Author

thanks I did that but where the log should go to ? (syslog/journalctl/file?)

@jbrooksuk
Copy link
Member

./storage/logs/.

@2Belette
Copy link
Author

2Belette commented May 13, 2017 via email

@hiteshmahajan
Copy link

it works 👍

MAIL_DRIVER=sendmail
MAIL_HOST=localhost
MAIL_PORT=25
MAIL_USERNAME=null
MAIL_PASSWORD=null
[email protected]
MAIL_NAME="mail cachet"
MAIL_ENCRYPTION=null

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Need support? Start here. Issues will be closed if not a bug.
Projects
None yet
Development

No branches or pull requests

4 participants