PowerTCP Mail for .NET
Invoke(String) Method




The command to send to the server.
Send the specified user command.
Syntax
Public Overloads Function Invoke( _
   ByVal command As String _
) As ImapResponse()
Dim instance As Imap
Dim command As String
Dim value() As ImapResponse
 
value = instance.Invoke(command)
public ImapResponse[] Invoke( 
   string command
)
public: ImapResponse*[]* Invoke( 
   string* command
) 
public:
array<ImapResponse^>^ Invoke( 
   String^ command
) 

Parameters

command
The command to send to the server.

Return Value

An ImapResponse array representing the response(s) from the server.
Exceptions
ExceptionDescription
ProtocolExceptionBad IMAP protocol response received from server.
System.Net.Sockets.SocketExceptionSocket connectivity problem.
Remarks
This is useful for communicating with servers that recognize proprietary commands not included in the Imap component model.
See Also

Reference

Imap Class
Imap Members
Overload List


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