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

POP3Client.GetTop Method (Int32, Int32)

Send a TOP command to the pop3 server

public string GetTop(
   int num_mess,
   int nlines
);

Parameters

num_mess
message number
nlines
number of lines

Return Value

The server answer

Remarks

the server return the message header and the "nlines" first lines of the body.

if "nlines" == 0 the server return the message header.

Exceptions

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

See Also

POP3Client Class | SmtPop Namespace | POP3Client.GetTop Overload List