Skip to content

Commit 1942ad3

Browse files
committed
Add InlineContentId property
1 parent bf8e351 commit 1942ad3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/Resend/EmailAttachment.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,17 @@ public class EmailAttachment
4242
[JsonIgnore( Condition = JsonIgnoreCondition.WhenWritingNull )]
4343
public string? ContentType { get; set; }
4444

45+
/// <summary>
46+
/// Inline content identifier.
47+
/// </summary>
48+
/// <remarks>
49+
/// Value can then be used as reference in HTML body using <code>cid</code>
50+
/// scheme, e.g. <code>&lt;img src="cid:property-value" &gt; /></code>.
51+
/// </remarks>
52+
[JsonPropertyName( "inline_content_id" )]
53+
[JsonIgnore( Condition = JsonIgnoreCondition.WhenWritingNull )]
54+
public string? InlineContentId { get; set; }
55+
4556

4657

4758
/// <summary>

0 commit comments

Comments
 (0)