Share via

Get Emails Messages with Blank Subject Lines

Eric Lopez 21 Reputation points
2022-03-17T17:19:37.95+00:00

I found a method to configure a Transport Rule for Messages That Have a Blank Subject on our tenant. But, before I add the rule, I would like to see which customers are currently sending us Blank subject line emails. Would anyone know if that feature is available using the Mail Flow/Message Trace option on Exchange Online or with a Get-MessageTraceDetail command on PowerShell? All articles on google i've found are older from 2007 and those methods are no longer available today.

Configuring the Rule:
bb430785(v=exchg.141)

Exchange Online
Exchange Online

A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.

Exchange | Exchange Server | Management
Exchange | Exchange Server | Management

The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.

0 comments No comments

Answer accepted by question author

Kai Yao 37,791 Reputation points Moderator
2022-03-18T03:30:08.55+00:00

Hi @Eric Lopez

Here is a link which may be helpful for your reference: Getting stats for emails delivered with blank subject lines
You may use the following cmdlet in EXO powershell to filter the senders who sent messages with blank subjects in the last 10 days (you may also specify the time period via adding the StartDate and EndDate parameters) :

Get-MessageTrace | Where {!$_.subject} | Select SenderAddress  

If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.