Skip to content

Commit e66855a

Browse files
feat: Add From Email to Personalization (#1102)
Co-authored-by: Elise Shanholtz <[email protected]>
1 parent 75e5416 commit e66855a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/SendGrid/Helpers/Mail/Model/Personalization.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ public class Personalization
3636
[JsonConverter(typeof(RemoveDuplicatesConverter<EmailAddress>))]
3737
public List<EmailAddress> Bccs { get; set; }
3838

39+
/// <summary>
40+
/// Gets or sets the from email address. The domain must match the domain of the from email property specified at root level of the request body.
41+
/// </summary>
42+
[JsonProperty(PropertyName = "from")]
43+
public EmailAddress From { get; set; }
44+
3945
/// <summary>
4046
/// Gets or sets the subject line of your email.
4147
/// </summary>

0 commit comments

Comments
 (0)