Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

SMTP from one address to another address failing #148

@genekellyjr

Description

@genekellyjr

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!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions