Skip to content
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

Feature Request - to:<chatid>@chatid.com #55

Open
RyanBlace opened this issue Feb 1, 2024 · 2 comments
Open

Feature Request - to:<chatid>@chatid.com #55

RyanBlace opened this issue Feb 1, 2024 · 2 comments

Comments

@RyanBlace
Copy link

Thanks for this solution. It works great for my needs.

I want the ability to send to different chatids based on the 'to' field. My backup software allows me to send to different email addresses (but not different ports) based on whether the job failed or was successful.

So, I'd configure it like this:
Successful Recipients List: [email protected]
Failure Recipients List: [email protected]

And, your software would use the 'to' line to send to the different chats.

To keep from breaking existing implementations you could look for a specific domain to know it is a chatid in the 'to' line.

So, I'd configure it like this:
Successful Recipients List: [email protected]
Failure Recipients List: [email protected]

Thanks again.

@RyanBlace RyanBlace changed the title Feature Request - to:<chatid>@somefakedomain.com Feature Request - to:<chatid>@chatid.com Feb 1, 2024
@MuratovAS
Copy link

I did what you're talking about. This is not technically possible; email cannot begin with -.
So this can be applied to personal chats.
You can find it in my fork: https://github.com/MuratovAS/smtptg

@RyanBlace
Copy link
Author

RyanBlace commented Jun 15, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants