From 1623eafe38c3485e8c066842620ddb6ad3b10dd4 Mon Sep 17 00:00:00 2001 From: jvsdev Date: Mon, 2 Mar 2020 16:12:26 +0100 Subject: [PATCH 1/2] Added new feature to specify a reply to emailaddress and name for a unverified domain. --- CM.Email.Sdk/Models/Mail.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CM.Email.Sdk/Models/Mail.cs b/CM.Email.Sdk/Models/Mail.cs index 5974e9b..e6b8660 100644 --- a/CM.Email.Sdk/Models/Mail.cs +++ b/CM.Email.Sdk/Models/Mail.cs @@ -29,6 +29,16 @@ public class Mail /// public Guid? ReplyToAddressID { get; set; } + /// + /// The address to send a reply mail to + /// + public string ReplyToAddress { get; set; } + + /// + /// The name of the person to send a reply mail to + /// + public string ReplyToName { get; set; } + /// /// The address to send your mail to /// From 1f5225c56b632b1a8ce7d6ad6da5f2409514a1d0 Mon Sep 17 00:00:00 2001 From: Jasper van Son <57749693+jaspervanson@users.noreply.github.com> Date: Mon, 2 Mar 2020 16:18:21 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 21680c2..3ebccda 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,8 @@ Mail mail = new Mail() FromAddressID = fromAddressID, FromName = fromName, //optional ReplyToAddressID = replyToAddressID, // optional + ReplyToAddress = replyToAddress, // optional (Overwritten when ReplyToAddressID defined) + ReplyToName = replyToName, // optional (Requires ReplyToAddressID or ReplyToAddress to be filled) ToAddress = toAddress, ToName = toName, // optional Ccs = new MailAddress[] // optional