aspNetEmail

Attachment.AddHeader Method 

Adds custom headers to Attachments.

public void AddHeader(
   string headerName,
   string headerValue
);

Parameters

headerName
Header name to add.
headerValue
Value of the header.

See Also

Attachment Class | aspNetEmail Namespace