refactor: Add Outlook authentication support for sending emails

This commit is contained in:
Marvin Zhang
2024-07-26 18:15:15 +08:00
parent 0e2170f644
commit 8d5a0b0c0e
4 changed files with 98 additions and 2 deletions

View File

@@ -14,4 +14,7 @@ type NotificationChannelV2 struct {
WebhookUrl string `json:"webhook_url,omitempty" bson:"webhook_url,omitempty"`
TelegramBotToken string `json:"telegram_bot_token,omitempty" bson:"telegram_bot_token,omitempty"`
TelegramChatId string `json:"telegram_chat_id,omitempty" bson:"telegram_chat_id,omitempty"`
OutlookTenantId string `json:"outlook_tenant_id,omitempty" bson:"outlook_tenant_id,omitempty"`
OutlookClientId string `json:"outlook_client_id,omitempty" bson:"outlook_client_id,omitempty"`
OutlookClientSecret string `json:"outlook_client_secret,omitempty" bson:"outlook_client_secret,omitempty"`
}