Add defaultFromName config option and bump to v0.0.7

- Add defaultFromName to MailingPluginConfig interface
- Update MailingService to format from field with name when available
- Add getDefaultFrom() helper method for consistent formatting
- Format as "Name" <email@domain.com> when both name and email are provided
- Bump version to 0.0.7

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-09-13 16:23:39 +02:00
parent fa028ff540
commit 719b60b9ef
3 changed files with 11 additions and 4 deletions

View File

@@ -22,6 +22,7 @@ export interface MailingPluginConfig {
emails?: string | Partial<CollectionConfig>
}
defaultFrom?: string
defaultFromName?: string
transport?: Transporter | MailingTransportConfig
queue?: string
retryAttempts?: number