Share via


MessagingApplication.DisplayComposeForm Method (String, String, String, String, String, String, String[])

3/29/2010

Displays a compose form for the specified account name, along with the names of the primary Recipients, the names of the carbon-copied Recipients, the names of the blind carbon-copied Recipients, the subject, the message body (text note), and the file names of the attachments, contained in a string Array.

Namespace: Microsoft.WindowsMobile.PocketOutlook
Assembly: Microsoft.WindowsMobile.PocketOutlook (in microsoft.windowsmobile.pocketoutlook.dll)

Syntax

public static void DisplayComposeForm (
    string accountName,
    string toAddresses,
    string ccAddresses,
    string bccAddresses,
    string subject,
    string body,
    string[] attachments
)
'Declaration
Public Shared Sub DisplayComposeForm ( _
    accountName As String, _
    toAddresses As String, _
    ccAddresses As String, _
    bccAddresses As String, _
    subject As String, _
    body As String, _
    attachments As String() _
)

Parameters

  • accountName
    The name of the account that will be used to send the message.
  • toAddresses
    A semi-colon separated list of the addresses to send the message to.
  • ccAddresses
    A semi-colon separated list of the addresses to cc the message to.
  • bccAddresses
    A semi-colon separated list of the addresses to bcc the message to.
  • subject
    The subject for the message.
  • body
    The body of the message.
  • attachments
    An array of filenames to attach to the message.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

MessagingApplication Class
MessagingApplication Members
Microsoft.WindowsMobile.PocketOutlook Namespace