Questions tagged [mailbox]

23 questions
0
votes
0 answers

Copying PST Data Locally from PST to Exchange Online Account Using PowerShell

In order to avoid having to use a 3rd party and expensive solution (i work for an Org any tech would try to do this for if they knew who - ethics wise). The task is to copy PST's to Exchange online archives. I know there's New-MailboxImportRequest…
Royston
  • 433
  • 2
  • 9
  • 25
0
votes
2 answers

How can I access mails from Shared mailbox using Mailkit

Recently Microsoft has started to authenticate user with OAuth 2.0 protocol. I have implemented it in Asp.net Core C# and got token. Now I am able to access mails from main mail Inbox using Mailkit from Microsoft exchange server using OAuth 2.0. But…
0
votes
1 answer

Search Emails in Mailbox with Imap_tools & Mailparser

First post after searching all over the site. I am trying to search the body of emails in a outlook mailbox for email addresses. I am using Imap_tools, MailParser and Beautiful Soup. I need to get any email address present in the body of the email…
litenchi
  • 1
  • 1
0
votes
0 answers

How to extract body content from a MBOX file?

I want to convert a MBOX file to CSV for analysis purposes. There are various tools available to do the same, but I want a python code for it. I tried converting it into a Pandas DataFrame and then exporting it into CSV. Here's the code for…
0
votes
1 answer

Extract body from email message objects in Python

I have an .mbox file that represents many messages at location mbox_fname. In Python 3, I have already loaded each of the messages, which are objects of the class email.message.Message. I'd like to get access to the body content of the message. For…
canary_in_the_data_mine
  • 2,193
  • 2
  • 24
  • 28
0
votes
0 answers

script to check forward

I recently made the mailbox migration from workspace to office 365. Forward was applied using the following script: #Import-Module ExchangeOnlineManagement Connect-ExchangeOnline -UserPrincipalName #-ShowBanner:$false -ExchangeEnvironmentName ]…
0
votes
0 answers

impap_tools Mailbox.move showing MailboxExpungeError and UID Command Error (Python3)

I have part of a script that move emails from one folder to another folder within the same account. However, when I tried to move one email from one to the another, it's showing me the following errors below. There are two ways in which I've…
Daniel Lee
  • 13
  • 3
0
votes
0 answers

exchangelib connect to office 365 shared mailbox failed

I need to write a python script which checks for incoming e-mail in a shared mailbox hosted on office 365. I have used python exchangelib 4.7.3: Code #!/usr/bin/env python3 import logging from exchangelib import Credentials, Account, Configuration,…
Kami
  • 5,959
  • 8
  • 38
  • 51
1
2