Unable to send email
See original GitHub issueI’ve set up SMTP but receive no registration email. I see the following in my docker-compose output:
scoold_1 | 2019-09-24 17:30:14 [INFO ] The following profiles are active: development
para_1 | 2019-09-24 17:30:14 [INFO ] Listening on port 8080...
para_1 | 2019-09-24 17:30:20 [INFO ] Started ParaServer in 8.950612239 seconds (JVM running for 18.537)
scoold_1 | 2019-09-24 17:30:21 [INFO ] Listening on port 8000...
scoold_1 | 2019-09-24 17:30:22 [INFO ] Initialized ParaClient with endpoint http://localhost:8000 and access key 'app:scoold'.
scoold_1 | 2019-09-24 17:30:23 [ERROR] No connection to Para backend. Retrying connection in 10s (attempt 1 of 10)...
scoold_1 | 2019-09-24 17:30:23 [INFO ] Default language map not set, loading English.
scoold_1 | 2019-09-24 17:30:23 [INFO ] SpringResourceLoader for Velocity: using resource loader [org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@49e4cb85, started on Tue Sep 24 17:30:14 GMT 2019] and resource loader paths [classpath:templates/]
scoold_1 | 2019-09-24 17:30:25 [INFO ] Started ScooldServer in 12.979 seconds (JVM running for 16.913)
scoold_1 | 2019-09-24 17:30:33 [WARN ] Error page loop /error/405
scoold_1 | 2019-09-24 17:30:33 [WARN ] Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'PUT' not supported]
scoold_1 | 2019-09-24 17:30:33 [WARN ] Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'PUT' not supported]
scoold_1 | 2019-09-24 17:32:04 [WARN ] Error page loop /error/405
scoold_1 | 2019-09-24 17:32:04 [WARN ] Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported]
scoold_1 | 2019-09-24 17:32:04 [ERROR] 405 - Request method 'POST' not supported
scoold_1 | 2019-09-24 17:32:04 [WARN ] Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported]
scoold_1 | 2019-09-24 17:34:12 [WARN ] Error page loop /error/405
scoold_1 | 2019-09-24 17:34:12 [WARN ] Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported]
scoold_1 | 2019-09-24 17:34:12 [WARN ] Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported]
scoold_1 | 2019-09-24 17:34:12 [ERROR] 405 - Request method 'POST' not supported```
Are these errors related? What do they mean? I see these errors when I try to register a new account.
I should note that I get no errors from the web interface. It indicates that the email was sent, but from my SMTP providers interface I never see the email come through. So the email never even gets to my SMTP server!
I've tried with and without TLS on ports 25 and 587. I'm using MailGun if that makes a difference.
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Unable to Send Email? Check These 5 Things Right Now
Unable to Send Email ? · Bad Passwords · Network Connection Errors · ISP Blocks & Email Ports · SMTP Authentication Settings ·...
Read more >If you can't send email on your iPhone, iPad, or iPod touch
In Mail, go to your list of mailboxes. · Tap Outbox. If you don't see an Outbox, then your email was sent. mailboxes...
Read more >How to fix issues with sending email (SMTP) - LCN.com
Open the settings for your email in the application or device you are using. · Locate the outgoing SMTP server and its settings....
Read more >Emails fail to send / Sending error/ Emails stay in drafts
How to fix · Make sure you can successfully send an email from your web mail. · Try sending an email, with your...
Read more >I Can't Send Emails But I Can Receive Emails
If you can receive emails but can not send emails this usually means the authenication required by the outgoing (SMTP) server is not...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I just want to add, thanks for you help @albogdano! I know we didn’t “solve” the problem, but at least it wasn’t a bug! I appreciate the time you spent helping me find a solution!
So, I still can’t say what happened. But I solved the issue by abandoning the docker-compose file. Instead I created the para and scoold containers directly from docker, and put them on a shared docker network. I configured scoold to talk to para over this network and followed the instructions I wrote above and everything is working! In the end email was a big red herring and the issue was problematic communication between para and scoold.