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

Enable the SMTP configuration in the docker-compose or environment variables? #150

Open
dacrudg opened this issue Oct 6, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@dacrudg
Copy link

dacrudg commented Oct 6, 2023

Is there anyway to enable the SMTP configuration in the docker-compose or environment variables, configuration, anything when running this docker image?

Right now I have to login to freescout after, goto settings, then configure SMTP to connect to my mail server. Looking for a SMTP_HOST, SMTP_USER, SMTP_PASSWORD, type settings. Thanks

@dacrudg dacrudg added the enhancement New feature or request label Oct 6, 2023
@dacrudg
Copy link
Author

dacrudg commented Oct 6, 2023

Filling out SMTP_HOST, SMTP_USER, SMTP_PASS, etc. On startup the logs say:

2023-10-06.16:41:07 [NOTICE] ** [messaging] Container configured to route mail via SMTP to 'mail.testhost.com'

But nothing is set when I goto the webGUI and check the mail settings for SMTP.
Nothing gets set in the options table either:

select * from options;

@tiredofit
Copy link
Owner

The SMTP commands are actually for PHP configuration, not for freescout. You could use the options within freescout to use the php mail() function, but at this time you are better off continuing entering your SMTP details manually per mailbox.

@dacrudg
Copy link
Author

dacrudg commented Oct 9, 2023

The SMTP commands are actually for PHP configuration, not for freescout. You could use the options within freescout to use the php mail() function, but at this time you are better off continuing entering your SMTP details manually per mailbox.

Is there anyway to generate the encrypted smtp password on the command line? Then I could insert it into the 'options' database table along with the user, host, etc. Thanks

@tiredofit
Copy link
Owner

I think you would want to request that as a feature to the Freescout developers to be added as an artisan:freescout command. I do know that the encryption relies on the APP_KEY variable, but not much more to be honest. Perhaps a dive through the laravel docs also may help?

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

No branches or pull requests

2 participants