![]() |
| Home |
|
|
Function xn_pop_mailinfoFunction xn_pop_mailinfo retrieves the sender and subject of a message on the POP3 server.
typedef struct _pop_msg_info {
char from[100];
char subject[100];
} pop_msg_info;
int xn_pop_mailinfo(pop_context * context, pop_msg_info * info, int num);
ParameterscontextPointer to the context of the current session. *context must have been initialized by xn_pop_client. infoPointer to the structure to receive the returned data. num1-based index of the message to query. return valueReturns 0 if successful, otherwise SOCKET_ERROR. If an error occurred, call xn_getlasterror and xn_geterror_string to return the error value. Section Error Codes further describes each error. Possible values for this function are:
|