Unify email/SMS via ProcessWeb Mailer API, remove legacy

Replaces legacy email/SMS logic with a new IComService abstraction using the ProcessWeb Mailer API for all outbound communication. Removes FuchsFdsEmail, FuchsEmailService, IEmailService, SmtpAccountSettings, and FuchsEmailSettings. Updates controllers to use IComService. Refactors appsettings.json to use a new "Mailer" section. Adds ProcessWebComSettings and a stub for secret management. Removes OCORE.sms.SMS77 and direct SMTP/MailKit usage. Cleans up solution file references to OCORE projects.
This commit is contained in:
Stefan
2026-05-18 08:11:21 +02:00
parent cc2abc91d6
commit b17baca835
15 changed files with 285 additions and 555 deletions
+6 -38
View File
@@ -8,9 +8,7 @@
"ConnectionStrings--ocms-ConnectionString",
"ConnectionStrings--fuchs-fds-ConnectionString",
"Fuchs--SMS-APIKey",
"Fuchs--Email--Main--password",
"Fuchs--Email--Fds--password",
"Fuchs--Email--Service--password",
"Fuchs--Mailer--Token",
"Fuchs--fuchs-captcha-TOTP",
"Fuchs--fuchs-intranet-TOTP"
]
@@ -35,41 +33,11 @@
"fuchs_captcha_TOTP": "MANAGED_BY_KEYVAULT",
"fuchs_intranet_TOTP": "MANAGED_BY_KEYVAULT",
"SMS_APIKey": "MANAGED_BY_KEYVAULT",
"Email": {
"Main": {
"alias": "Sebastian Fuchs - Bad und Heizung",
"to": "anfrage@sanitaerfuchs.de",
"from": "anfrage@sanitaerfuchs.de",
"bcc": "info@processweb.de",
"host": "smtp.office365.com",
"port": 587,
"security": "StartTls",
"username": "anfrage@sanitaerfuchs.de",
"password": "MANAGED_BY_KEYVAULT"
},
"Fds": {
"alias": "Sebastian Fuchs - Bad und Heizung",
"to": "",
"from": "rechnungen@sanitaerfuchs.de",
"bcc": "",
"host": "smtp.office365.com",
"port": 587,
"security": "StartTls",
"username": "rechnungen@sanitaerfuchs.de",
"password": "MANAGED_BY_KEYVAULT"
},
"Service": {
"alias": "ProcessWeb Service",
"to": "",
"from": "service@emails.processweb.de",
"bcc": "",
"host": "emails.processweb.de",
"port": 587,
"security": "StartTls",
"username": "service@emails.processweb.de",
"password": "MANAGED_BY_KEYVAULT"
},
"TestAddresses": "st.ott@web.de,info@processweb.de"
"Mailer": {
"BaseUrl": "https://api.processweb.de",
"AccountId": "",
"Token": "MANAGED_BY_KEYVAULT",
"Enabled": false
}
}
}