コード例 #1
0
ファイル: ImapClient.cs プロジェクト: CallWall/CallWall.Web
 private GmailEmail LoadMessageSync(ulong messageId, string accountEmailAddress)
 {
     var op = new FetchMessageOperation(messageId, accountEmailAddress, _loggerFactory);
     if (Execute(op))
     {
         var email = op.ExtractMessage();
         return email;
     }
     throw new IOException("Loading email failed");
 }