mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-official-plugins/pull/928
Author: @Satyamgupta2365
Created: 5/18/2025
Status: ✅ Merged
Merged: 5/19/2025
Merged by: @crazywoola
Base:
main← Head:main📝 Commits (3)
9a53680main.py51227cdsend_mail.py11e3e83manifest.yaml📊 Changes
3 files changed (+489 additions, -192 deletions)
View changed files
📝
tools/email/main.py(+139 -1)📝
tools/email/manifest.yaml(+147 -33)📝
tools/email/tools/send_mail.py(+203 -158)📄 Description
📩 Fix: Robust Handling for Email File Attachments (#927)
This PR addresses Issue #927: Email File Attachment Error by introducing a comprehensive and fault-tolerant mechanism for handling file attachments in the email plugin.
✅ Key Improvements:
Enhanced File Type Support
Supports text, image, audio, and binary files using appropriate MIME types.
Error Prevention & Handling
Detailed Logging
Robust Exception Management
Gracefully handles both API-specific and general exceptions with clear error messaging.
This update ensures more reliable email delivery even in the presence of problematic files, improving user experience and system stability.
Close https://github.com/langgenius/dify-official-plugins/issues/927
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.