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 to add SMTP relay #324

Open
Re4zOon opened this issue Nov 3, 2023 · 1 comment
Open

How to add SMTP relay #324

Re4zOon opened this issue Nov 3, 2023 · 1 comment

Comments

@Re4zOon
Copy link

Re4zOon commented Nov 3, 2023

Hi,

You added this link as a comment for the relay configuration:
https://docs.spring.io/spring-boot/docs/current/reference/html/spring-boot-features.html#boot-features-email

There is no email features in the docs (no mail/email/relay/etc).

I've found this link:
https://mailtrap.io/blog/spring-send-email/

Which states the following:

spring.mail.host=smtp.example.com
spring.mail.port=25
spring.mail.username=setusername
spring.mail.password=setpassword
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true

Can you please add these to the doc?

@toabi
Copy link

toabi commented Dec 4, 2024

Thanks, I was searching them too, and those up there are correct (and can also be configured via environment variables)

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