currentMailMessageのメソッドについて

いつも大変参考にさせていただいております。outlookメールメッセージを取得からList<MailMessege>でメッセージを取り込むことが出来たのですが、CurrentMailMessegeのメソッド一覧のようなものがあれば教えていただけないでしょうか?

(From=送信者、DateAsDatetimeが受信日時、Subject=件名、等ということは調べてなんとなくわかったのですが。)このように取得できるメソッドを使ってメール受信データをデータテーブルに出力していくことを行っています。
また、各メールにあるoutlookの機能(右クリック(T))分類項目が出力できるかお分かりになる方いたらご教示いただけないでしょうか。よろしくお願いいたします。

@nara1
currentMailMessage Methods

  • From: The sender of the email. It returns an instance of MailAddress which includes properties like Address and DisplayName.
  • To: A collection of recipients for the email. It returns a collection of MailAddress objects.
  • Cc: A collection of CC recipients.
  • Bcc: A collection of BCC recipients.
  • Subject: The subject line of the email.
  • Body: The body content of the email. This can be plain text or HTML.
  • Attachments: A collection of attachments in the email. You can loop through this collection to get details about each attachment.
  • Date: The date and time the email was received.
  • IsBodyHtml: A boolean indicating whether the body of the email is HTML.
  • Priority: The priority of the email (e.g., High, Normal, Low).

Hi @nara1

Can you share your Expected output Excel document then it will be better to understand for us.

Thank you very much. I will use your response as a reference. Thank you for your kind reply.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.