darkrockmountain / gomail

GoMail is a powerful library for sending emails via multiple providers, including SMTP, Gmail API, Microsoft Graph API, SendGrid, AWS SES, Mailgun, Mandrill, Postmark, and SparkPost. Supporting attachments, plain text, and HTML content, it simplifies email integration for developers with easy setup and robust functionalities.
https://darkrockmountain.com
Apache License 2.0
4 stars 1 forks source link

Feature/sanitizer #33

Closed JRocabruna closed 4 weeks ago

JRocabruna commented 4 weeks ago

Description

This pull request introduces custom sanitizers for text and HTML content within the EmailMessage struct. Users can now specify their own sanitization logic or utilize the default sanitizers provided. This enhancement improves flexibility and security in email content handling. The changes also include comprehensive tests to ensure robust functionality and edge case coverage.

Checklist

Additional Information

This update includes: