コード例 #1
0
 /// <summary>
 /// Builds the single part message.
 /// </summary>
 /// <param name="entity">The entity.</param>
 /// <param name="message">The message.</param>
 private void BuildSinglePartMessage(MimeEntity entity, MailMessageEx message)
 {
     SetMessageBody(message, entity);
 }
コード例 #2
0
 private static bool IsAttachment(MimeEntity child)
 {
     return((child.ContentDisposition != null) &&
            (string.Equals(child.ContentDisposition.DispositionType, DispositionTypeNames.Attachment, StringComparison.InvariantCultureIgnoreCase)));
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MimeReader"/> class.
 /// </summary>
 private MimeReader()
 {
     _entity = new MimeEntity();
 }