• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class MailAttachment

Inheritance
System.Object
MailAttachment
Namespace: DotNetNuke.Services.Mail
Assembly: DotNetNuke.dll
Syntax
public class MailAttachment : object

Constructors

| Improve this Doc View Source

MailAttachment(String, Byte[], String)

Initializes a new instance of the MailAttachment class.

Declaration
public MailAttachment(string filename, byte[] content, string contentType)
Parameters
Type Name Description
System.String filename
System.Byte[] content
System.String contentType
| Improve this Doc View Source

MailAttachment(String, Byte[])

Initializes a new instance of the MailAttachment class.

Declaration
public MailAttachment(string filename, byte[] content)
Parameters
Type Name Description
System.String filename
System.Byte[] content
| Improve this Doc View Source

MailAttachment(String)

Initializes a new instance of the MailAttachment class.

Declaration
public MailAttachment(string filePath)
Parameters
Type Name Description
System.String filePath

Properties

| Improve this Doc View Source

Content

Declaration
public byte[] Content { get; set; }
Property Value
Type Description
System.Byte[]
| Improve this Doc View Source

ContentType

Declaration
public string ContentType { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Filename

Declaration
public string Filename { get; set; }
Property Value
Type Description
System.String

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS