-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
Add SMTP package #12
Comments
Hi @driaug, as far as I know, you will need a Self-Signed Certificate from a trusted CA(like Digicert?) for production use. |
Hey yall, I personally worked with smtp-server a bit before, I didnt do receiving emails yet, but for the sending I didnt need the key or the cert. |
I'm wondering how you achieved this. That would mean that |
Oh, yeah, I just did use it to send emails to people. |
The issue I have with this is that such a cert is signed for a single domain so I cannot bundle it. We would need to generate it in the code somehow, because we cannot know the domain the user might self-host it on. It would be an SMTP endpoint that users can send emails with, indeed. |
@driaug A certificate must be issued by a trusted CA, becoming one has a lot of overheads and security implications. |
It is possible, but I guess email data will be transmitted in plain text, which is not secure for sensitive information. Also, the mail can be marked as spam or blocked due to a lack of security. |
Actually none of the emails I sent arrived as spam. |
It's indeed a very good idea to require a certificate these days. An insecure mailserver opens you up to lots of risks, but I do think we need to keep in mind how and where this is deployed. I think there's multiple routes you can take here:
|
I have implemented a secure SMTP endpoint for the managed version of Plunk. I will spend some time to port it over into the self-hosted version but it will be on a bring your own certificate basis. Plunk will not be responsible for generating it. |
Hi @driaug I have just tried to use SMTP email using Spring Boot Java Mail Server but so far no success. I have got the SMTP creds information from the dashboard. Not sure what I am doing wrong. |
I will need a better description than that. Do you get an error, does it timeout, do you have a code sample? |
My project does not respond, its just keep running. I have tried with another online tool and it seems like its going timeout. I have attached a screenshot for your reference. [2024-08-17T13:57:00.340Z] DNS -> Resolved smtp.useplunk.com as 5.75.140.74 [cache miss] Also, one more thing. The username shows |
Which online tool is this. I have just given it another go using |
I tried on https://smtpserver.com/smtptest and also tried to test an email through my keycloak server. All of them went timeout. It is because of geo location? |
If I add the right details and toggle |
Hi @driaug , thank you for your prompt response. Actually I did enabled the SSL but somehow I was also using the wrong |
Sorry for spaming the comment section. Also, nice to have a healthcheck or status api/dashboard. |
Plunk does try to follow the GDPR laws but since we are not audited, I am not legally allowed to make claims that we are. |
A lot of users reach out regarding an SMTP package/endpoint for Plunk.
I have given it a go a long time ago but could not make it work. Mostly got stuck on the certificates needed to make it work.
If anyone would have experience with it and could make it work so the docker image can still build and deploy, that would be a very great addition!
Possibly with: https://nodemailer.com/extras/smtp-server/
All we would need is to accept the request, internally we can send it through to the API which would automatically create the contact and handle everything else.
The part that scares me from nodemailer's
smtp-server
is thisWe would need to have that
.key
and.crt
file, unless I am just dead wrong?The text was updated successfully, but these errors were encountered: