Skip to content

Commit

Permalink
Merge pull request #4 from cmdotcom/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
cmmarlou authored Mar 6, 2020
2 parents b4fe636 + 1f5225c commit 3ce129c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CM.Email.Sdk/Models/Mail.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ public class Mail
/// </summary>
public Guid? ReplyToAddressID { get; set; }

/// <summary>
/// The address to send a reply mail to
/// </summary>
public string ReplyToAddress { get; set; }

/// <summary>
/// The name of the person to send a reply mail to
/// </summary>
public string ReplyToName { get; set; }

/// <summary>
/// The address to send your mail to
/// </summary>
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3ce129c

Please sign in to comment.