First off, thank you for putting this together!
I'm having trouble with sending email from one address to another. I am using the docker image.
I have followed the readme and made a template with the From: line modified to From: {{env "EMAIL_FROM"}} where $EMAIL_FROM is an env var available to said docker image.
It does work when the from/to email address is the same (e.g., emailing yourself) - but I get recipient=<EMAIL_TO> method=smtp error="550 Request failed; Mailbox unavailable" when going from one address to another.
I see #79 notes that the issue regressed. Maybe that is why?
I also do see that https://github.com/skx/rss2email/blob/master/processor/emailer/emailer.go#L382 has err := smtp.SendMail(addr, auth, to, []string{to}, content) which I read as that the from and to are indeed one and the same to and so cannot email from one address to another. (nb: I do not know go, but the []string{to} really looks like it's just doing operations on the var to)
Let me know if I'm missing something, this looks perfect for me and I am hoping to get it to work!
First off, thank you for putting this together!
I'm having trouble with sending email from one address to another. I am using the docker image.
I have followed the readme and made a template with the
From:line modified toFrom: {{env "EMAIL_FROM"}}where$EMAIL_FROMis an env var available to said docker image.It does work when the from/to email address is the same (e.g., emailing yourself) - but I get
recipient=<EMAIL_TO> method=smtp error="550 Request failed; Mailbox unavailable"when going from one address to another.I see #79 notes that the issue regressed. Maybe that is why?
I also do see that https://github.com/skx/rss2email/blob/master/processor/emailer/emailer.go#L382 has
err := smtp.SendMail(addr, auth, to, []string{to}, content)which I read as that the from and to are indeed one and the sametoand so cannot email from one address to another. (nb: I do not know go, but the[]string{to}really looks like it's just doing operations on the varto)Let me know if I'm missing something, this looks perfect for me and I am hoping to get it to work!