Simple Mail and Post Office Protocol for .Net (SmtPop)

POP3Client.SendCommandBlock Method 

Send a command to the server and retreive a block of lines

public string SendCommandBlock(
   string command
);

Parameters

command
Command string

Return Value

A string containing the server answer (without +OK... line)

Remarks

All POP answer need to start with +OK. Otherwise this is an error status

Exceptions

Exception Type Condition
Exception Raise an exception in case of communication error
POP3Exception Raise an exception if the server return an error condition
Exception Raise in case of communication error
POP3Exception Raise if the server return an error condition

See Also

POP3Client Class | SmtPop Namespace