mirror of
https://github.com/xtr-dev/payload-mailing.git
synced 2025-12-10 08:13:23 +00:00
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:
@@ -22,6 +22,7 @@ export interface MailingPluginConfig {
|
||||
emails?: string | Partial<CollectionConfig>
|
||||
}
|
||||
defaultFrom?: string
|
||||
defaultFromName?: string
|
||||
transport?: Transporter | MailingTransportConfig
|
||||
queue?: string
|
||||
retryAttempts?: number
|
||||
|
||||
Reference in New Issue
Block a user