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

Req: SMTP Documentaton Reference #294

Open
kwiza12 opened this issue Feb 24, 2024 · 4 comments
Open

Req: SMTP Documentaton Reference #294

kwiza12 opened this issue Feb 24, 2024 · 4 comments
Labels
docs Improvements or additions to documentation

Comments

@kwiza12
Copy link

kwiza12 commented Feb 24, 2024

I'm configuring smtp using the environment variables specified in the document.
However, I miss few information/or possible values allowed for certain variables.
What are the allowed values for these parameters?

EMAIL_SMTP_AUTH - Default is plain, what are the other allowed values?
EMAIL_SMTP_TLS - Default is nil, what values allowed here? is it a boolean variable?

Also is there a way to verify the settings by sending a test mail or validate the configuration?

@riggraz
Copy link
Collaborator

riggraz commented Feb 27, 2024

Hi kwiza12, thanks for reaching out!

These parameters are passed as-is to Rails ActionMailer smtp_settings. You can check out its documentation here. EMAIL_SMTP_AUTH is passed to the authentication field, EMAIL_SMTP_TLS to ssl/tls.

Anyway, thanks for pointing that out. I'll add some information to the docs website soon.

Also is there a way to verify the settings by sending a test mail or validate the configuration?

Unfortunately no :( can you think of a simple way to add this functionality?

@riggraz riggraz added the docs Improvements or additions to documentation label Feb 27, 2024
@zarevskaya
Copy link

Hello, this is not very understandable, can you specify how to do it in the dokcer-compose please?

@riggraz
Copy link
Collaborator

riggraz commented Mar 16, 2024

Hi @zarevskaya, you can check out a basic docker-compose.yml configuration here. Starting from that configuration, you can add, in the web service, the required environment variables for SMTP (take a look at the table for that).

Hope that helps!

@zarevskaya
Copy link

Thank you very much, that help very well. 😃

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

No branches or pull requests

3 participants