Get Emails Messages with Blank Subject Lines

Erick 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)

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,263 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,405 questions
0 comments No comments
{count} votes

Accepted answer
  1. Kael Yao-MSFT 37,576 Reputation points Microsoft Vendor
    2022-03-18T03:30:08.55+00:00

    Hi @Erick 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.


0 additional answers

Sort by: Most helpful