Commit 61a69ac
Nebojša Kamber
Add URL-encoding notice
I've had trouble connecting to Amazon SES via recommended method.
I kept getting:
> Exception occurred while flushing email queue: Failed to authenticate on SMTP server with username "***"
I've traced it to "+" sign in the password that Amazon SES automatically assigned to my SMTP credentials.
I had a hunch that special characters might be a problem and was thinking along the lines of wrapping the whole MAILER_URL value in single quotes.
Then I ran into https://stackoverflow.com/a/50498999/1419874 that solved the issue for me too.
Since the OP lost 3hrs and myself almost an hour, I think URL encoding might not be so obvious.
Hence I propose this change. I've intentionally put it at the top, since I think it applies to any method that has special characters in username/password, not just Amazon SES.1 parent 3f9b831 commit 61a69ac
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
0 commit comments