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

feat(email_sender): add max size to the attachments #13

Closed JRocabruna closed 4 months ago

JRocabruna commented 4 months ago

Feature/Implement Maximum Attachment Size for Email Messages

Description

This pull request introduces a new feature that allows setting a maximum size for attachments in EmailMessage instances within the gomail package. The feature includes:

This enhancement improves the usability and reliability of the gomail package by preventing large attachments from causing email delivery failures. It aligns with best practices for email transmission and assists users in avoiding common issues.

Checklist

Please ensure the following guidelines are met:

Additional Information

This feature will enhance the usability and reliability of the gomail package by preventing large attachments from causing email delivery failures. The implementation includes comprehensive tests to ensure the feature works as intended and does not introduce regressions. The documentation has been updated to reflect these changes and provide guidance on using the new functionality.

codecov-commenter commented 4 months ago

Welcome to Codecov :tada:

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

:information_source: You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered :open_umbrella: