PowerTCP Mail for .NET
Messagepart Constructor(MailMessage,String)




Initializes Content.
Initializes ContentType.Name and ContentDisposition.FileName.
Create a new Messagepart and initialize Content it with a MailMessage.
Syntax
Public Function New( _
   ByVal message As MailMessage, _
   ByVal fileName As String _
)
Dim message As MailMessage
Dim fileName As String
 
Dim instance As New Messagepart(message, fileName)
public Messagepart( 
   MailMessage message,
   string fileName
)
public: Messagepart( 
   MailMessage* message,
   string* fileName
)
public:
Messagepart( 
   MailMessage^ message,
   String^ fileName
)

Parameters

message
Initializes Content.
fileName
Initializes ContentType.Name and ContentDisposition.FileName.
Remarks
ContentType.MediaType is "message/rfc822", TransferEncoding is TransferEncoding.SevenBit and ContentDisposition.Inline is true (use a new Attachment to include a MailMessage as an attachment).
See Also

Reference

Messagepart Class
Messagepart Members
Overload List


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic