Method | Description | |
---|---|---|
GetHeaderField ( System name ) : System.String |
Returns the requested header field body. The value if present is uncommented and decoded (RFC 2047). |
|
SetUrlBase ( System attachmentsurl ) : void |
Set the URL used to reference embedded parts from the HTML body (as specified on RFC2392) The supplied URL will be replaced with the following tokens for each attachment:
|
|
SharpMessage ( System message ) : System |
Initializes a new instance of the anmar.SharpMimeTools.SharpMessage class based on the supplied System.IO.Stream. The message content is automatically parsed. |
|
SharpMessage ( System message, SharpDecodeOptions options ) : System |
Initializes a new instance of the anmar.SharpMimeTools.SharpMessage class based on the supplied System.IO.Stream.
|
|
SharpMessage ( System message, SharpDecodeOptions options, System path ) : System |
Initializes a new instance of the anmar.SharpMimeTools.SharpMessage class based on the supplied System.IO.Stream.
|
|
SharpMessage ( System message, SharpDecodeOptions options, System path, System preferredtextsubtype ) : System |
Initializes a new instance of the anmar.SharpMimeTools.SharpMessage class based on the supplied System.IO.Stream.
|
|
SharpMessage ( System message, anmar types, SharpDecodeOptions options, System path, System preferredtextsubtype ) : System |
Initializes a new instance of the anmar.SharpMimeTools.SharpMessage class based on the supplied System.IO.Stream.
|
|
SharpMessage ( System message, anmar types, bool html ) : System |
Initializes a new instance of the anmar.SharpMimeTools.SharpMessage class based on the supplied System.IO.Stream.
|
|
SharpMessage ( System message, anmar types, bool html, System path ) : System |
Initializes a new instance of the anmar.SharpMimeTools.SharpMessage class based on the supplied System.IO.Stream.
|
|
SharpMessage ( System message, anmar types, bool html, System path, System preferredtextsubtype ) : System |
Initializes a new instance of the anmar.SharpMimeTools.SharpMessage class based on the supplied System.IO.Stream.
|
|
SharpMessage ( System message, bool attachments, bool html ) : System |
Initializes a new instance of the anmar.SharpMimeTools.SharpMessage class based on the supplied System.IO.Stream. When the attachments parameter is true it's equivalent to adding anmar.SharpMimeTools.MimeTopLevelMediaType.application, anmar.SharpMimeTools.MimeTopLevelMediaType.audio, anmar.SharpMimeTools.MimeTopLevelMediaType.image, anmar.SharpMimeTools.MimeTopLevelMediaType.video to the allowed anmar.SharpMimeTools.MimeTopLevelMediaType. |
|
SharpMessage ( System message, bool attachments, bool html, System path ) : System |
Initializes a new instance of the anmar.SharpMimeTools.SharpMessage class based on the supplied System.IO.Stream. When the attachments parameter is true it's equivalent to adding anmar.SharpMimeTools.MimeTopLevelMediaType.application, anmar.SharpMimeTools.MimeTopLevelMediaType.audio, anmar.SharpMimeTools.MimeTopLevelMediaType.image, anmar.SharpMimeTools.MimeTopLevelMediaType.video to the allowed anmar.SharpMimeTools.MimeTopLevelMediaType. |
|
SharpMessage ( System message, bool attachments, bool html, System path, System preferredtextsubtype ) : System |
Initializes a new instance of the anmar.SharpMimeTools.SharpMessage class based on the supplied System.IO.Stream. When the attachments parameter is true it's equivalent to adding anmar.SharpMimeTools.MimeTopLevelMediaType.application, anmar.SharpMimeTools.MimeTopLevelMediaType.audio, anmar.SharpMimeTools.MimeTopLevelMediaType.image, anmar.SharpMimeTools.MimeTopLevelMediaType.video to the allowed anmar.SharpMimeTools.MimeTopLevelMediaType. |
Method | Description | |
---|---|---|
ParseMessage ( System stream, anmar types, SharpDecodeOptions options, System preferredtextsubtype, System path ) : void | ||
ParseMessage ( anmar part, anmar types, bool html, SharpDecodeOptions options, System preferredtextsubtype, System path ) : void | ||
ReplaceUrlTokens ( System url, anmar attachment ) : System.String | ||
UuDecode ( System path ) : void |
public GetHeaderField ( System name ) : System.String | ||
name | System | |
return | System.String |
public SetUrlBase ( System attachmentsurl ) : void | ||
attachmentsurl | System | URL used to reference embedded parts from the HTML body. |
return | void |
public SharpMessage ( System message ) : System | ||
message | System | |
return | System |
public SharpMessage ( System message, SharpDecodeOptions options ) : System | ||
message | System | |
options | SharpDecodeOptions | |
return | System |
public SharpMessage ( System message, SharpDecodeOptions options, System path ) : System | ||
message | System | |
options | SharpDecodeOptions | |
path | System | A |
return | System |
public SharpMessage ( System message, SharpDecodeOptions options, System path, System preferredtextsubtype ) : System | ||
message | System | |
options | SharpDecodeOptions | |
path | System | A |
preferredtextsubtype | System | A |
return | System |
public SharpMessage ( System message, anmar types, SharpDecodeOptions options, System path, System preferredtextsubtype ) : System | ||
message | System | |
types | anmar | A |
options | SharpDecodeOptions | |
path | System | A |
preferredtextsubtype | System | A |
return | System |
public SharpMessage ( System message, anmar types, bool html ) : System | ||
message | System | |
types | anmar | A |
html | bool | true to allow HTML content; false to ignore the html content. |
return | System |
public SharpMessage ( System message, anmar types, bool html, System path ) : System | ||
message | System | |
types | anmar | A |
html | bool | true to allow HTML content; false to ignore the html content. |
path | System | A |
return | System |
public SharpMessage ( System message, anmar types, bool html, System path, System preferredtextsubtype ) : System | ||
message | System | |
types | anmar | A |
html | bool | true to allow HTML content; false to ignore the html content. |
path | System | A |
preferredtextsubtype | System | A |
return | System |
public SharpMessage ( System message, bool attachments, bool html ) : System | ||
message | System | |
attachments | bool | true to allow attachments; false to skip them. |
html | bool | true to allow HTML content; false to ignore the html content. |
return | System |
public SharpMessage ( System message, bool attachments, bool html, System path ) : System | ||
message | System | |
attachments | bool | true to allow attachments; false to skip them. |
html | bool | true to allow HTML content; false to ignore the html content. |
path | System | A |
return | System |
public SharpMessage ( System message, bool attachments, bool html, System path, System preferredtextsubtype ) : System | ||
message | System | |
attachments | bool | true to allow attachments; false to skip them. |
html | bool | true to allow HTML content; false to ignore the html content. |
path | System | A |
preferredtextsubtype | System | A |
return | System |