Esempio n. 1
0
        public Pop3ResultData VerifyAccount()
        {
            base.CheckDisposed();
            AsyncOperationResult <Pop3ResultData> asyncOperationResult = Pop3ConnectionCore.VerifyAccount(this.ConnectionContext, null, null);

            this.ThrowIfExceptionNotNull(asyncOperationResult.Exception);
            return(asyncOperationResult.Data);
        }
Esempio n. 2
0
        public Pop3ResultData DeleteEmails(List <int> messageIds)
        {
            base.CheckDisposed();
            AsyncOperationResult <Pop3ResultData> asyncOperationResult = Pop3ConnectionCore.DeleteEmails(this.ConnectionContext, messageIds, null, null);

            this.ThrowIfExceptionNotNull(asyncOperationResult.Exception);
            return(asyncOperationResult.Data);
        }
Esempio n. 3
0
        public Pop3ResultData GetEmail(int messageId)
        {
            base.CheckDisposed();
            AsyncOperationResult <Pop3ResultData> email = Pop3ConnectionCore.GetEmail(this.ConnectionContext, messageId, null, null);

            this.ThrowIfExceptionNotNull(email.Exception);
            return(email.Data);
        }
Esempio n. 4
0
        public Pop3ResultData GetUniqueIds()
        {
            base.CheckDisposed();
            AsyncOperationResult <Pop3ResultData> uniqueIds = Pop3ConnectionCore.GetUniqueIds(this.ConnectionContext, null, null);

            this.ThrowIfExceptionNotNull(uniqueIds.Exception);
            return(uniqueIds.Data);
        }