Question Locked

How to get headers of iCloud.com mail to visually check scam via shortcut?

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Is it possible to use iPhone shortcut to visually inspect headers of incoming email for scamming?
iPhone mail app lacks feature to display headers and iCloud.com mail shows header information that is too complex for eye inspection.

6 replies

by gavottetreat03

When looking at the headers of this message, it can be observed that the scammer spoofed the display name and domain name to show the actual faculty member's name and university email address. However, a closer look at the 'Return-Path' and 'Reply-To' in the email headers indicates that the sender is not who they claim to be.
From: "Professor John Doe" <jdoe@andrew.cmu.edu>
Reply-To: "Professor John Doe" <jdoe.andrew.cmu.edu@gmail.com>
Return-Path: <fakeaccount123@scammail.net>

by kees_b

https://discussions.apple.com/thread/251168095?sortBy=rank shows it's an old and apparently still unsolved issue.

Three suggestions, but I'm afraid you won't like them:
- wait a year to see if the coming iOS version of Thunderbird has the option (the desktop version for Windows has)
- link your icloud.com to a mail program on some other device that offers this option (like Thunderbird on Windows, maybe also Thunderbird on MacOS, or the webversion of gmail.com)
- forward all mails (or, if possible, only mails from unknown senders) to an account that you can view in another program (like Thunderbird) on another device.

by ZaraCWeston

On iCloud.com, open the email, click the gear icon (⚙️) > 'Show Long Headers'. It’s a quick way to check the full email path and spot spoofing or scam signs—no shortcut needed!

by gracemiller8477 edited

Yes, you can create an iPhone Shortcut to help inspect email headers from iCloud.com. The shortcut would use the “Get Contents of URL” or “Get Emails” action (via iCloud Mail API or IMAP) to fetch the raw message data, then extract the headers like From, Received, Return-Path, and DKIM/ SPF results. You can format these headers into a simpler, readable view with “Text” and “Quick Look” actions, so you can visually check for suspicious domains, mismatched sender info, or unusual routing without wading through the full raw header. This lets you quickly scan for signs of phishing directly on your iPhone.

by gracemiller8477 edited

You can use an iPhone Shortcut to fetch and simplify iCloud Mail headers for easier inspection. The shortcut would connect via IMAP or the iCloud Mail API to get the raw message, extract key header fields like From, Received, Return-Path, and authentication results (DKIM, SPF), then format them into a clean, readable text view using “Text” and “Quick Look” actions. This lets you visually check for suspicious senders or unusual routing directly on your iPhone without wading through the full complex header.

by trafficrider446

iOS Shortcuts can’t access full raw email headers from Mail/iCloud Mail due to Apple’s sandboxing. The practical workaround is to forward the email to a header-analysis service (or view headers via iCloud.com on desktop and paste into a visual analyzer), since true visual header inspection isn’t supported on iPhone yet.

This discussion is closed to new replies.