Skip to content

Conversation

@TrystanLea
Copy link
Member

@TrystanLea TrystanLea commented Jul 18, 2025

Native email class thanks to Claude and Copilot to fix:

Why native, it's not that much code, it reduces dependencies, use of email in emoncms is minimal, advanced email features are not required.

I'd also like to add the option to use a transactional email service in place of smtp here but that can wait to a separate development. (e.g open source postal or cuttlefish, and perhaps plunk for hosted but still open source https://www.useplunk.com/)

@chaveiro
Copy link
Contributor

Hi, not tested yet and probably is a good approach to have different ways to send email supported natively,.
I sugest to break the email class that is issued for validating the email from the specific sending implementation. Eg a class (or file) for sendmail, other for smtp, etc.

@TrystanLea TrystanLea merged commit fcfe0d6 into master Jul 26, 2025
12 checks passed
@TrystanLea
Copy link
Member Author

I will re-open with a new pull request with further changes to this, including those you suggest @chaveiro in due time.

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

Successfully merging this pull request may close these issues.

4 participants