convert PlaceHolders-property to CreatePlaceHolders callback-method

This commit is contained in:
2025-09-04 17:01:40 +02:00
parent 95fe1aefcf
commit 9c48b230b4
2 changed files with 22 additions and 7 deletions

View File

@@ -27,12 +27,26 @@ public class SendSignedMailHandler : SendMailHandler<DocSignedNotification>
/// </summary>
/// <param name="notification"></param>
/// <param name="emailOut"></param>
protected override void ConfigEmailOut(DocSignedNotification notification, EmailOut emailOut)
protected override void ConfigureEmailOut(DocSignedNotification notification, EmailOut emailOut)
{
emailOut.ReferenceString = notification.EmailAddress;
emailOut.ReferenceId = notification.ReceiverId;
}
/// <summary>
///
/// </summary>
/// <param name="notification"></param>
/// <returns></returns>
protected override Dictionary<string, string> CreatePlaceHolders(DocSignedNotification notification)
{
var placeHolders = new Dictionary<string, string>()
{
};
return placeHolders;
}
private static string TextToHtml(string input)
{
if (string.IsNullOrEmpty(input)) return "";