[iOS] Investigation into the specifications of "This message is from a mailing list."
![[iOS] Investigation into the specifications of](img/ogp.png)
The message "This message is from a mailing list." and "Unsubscribe" sometimes displayed in the iPhone's standard Mail app.

This feature was added in iOS 10 in 2016, and I've finally gotten around to investigating its specifications, so I'd like to share what I found.
Table of Contents
Conclusion: It's best not to tap if you're unsure
To conclude,
If it's an unfamiliar or suspicious email, it's best not to tap it.
If it's a spam email, you might inadvertently tell the sender, "This email address is in use."
On the other hand, if it's a trustworthy email, tapping it is fine, but personally, I think it's better to change newsletter subscription settings via the "unsubscribe" link within the email or through a dedicated "My Page."
Therefore, if it's a suspicious email, block the sender.
How to block a sender
Tap the email's sender

You can block the sender from "Block this Contact."

When you block a sender, emails from them go directly to the trash.
For Gmail and iCloud Mail, the trash is deleted after 30 days.
What happens when you unsubscribe?
Let's actually tap "Unsubscribe."
A pop-up will appear, so tap "Unsubscribe."

Then, nothing happens, but...
Looking at the outbox, there's a trace of something sent.

Was it successfully unsubscribed...?
Since it depends entirely on the sender's system, there's no way to confirm it.
Is it spam?
Not necessarily.
In my case, this message appeared on a legitimate notification from a credit card company.
On the other hand, I believe this message can also appear on spam emails.
In that case, sending an unsubscribe request could inadvertently tell the sender, "This email address is in use."
If an email is even slightly suspicious, respond by blocking the sender instead of unsubscribing.
Under what conditions is it displayed?
This message is displayed under the following conditions:
It is displayed when the List-Unsubscribe header is found in the received email and a mailto: address exists within it.
Reference: What Happens When You Click Unsubscribe in iOS | Digital Peanut Blog
Apparently.
Simply put,
if an unsubscribe address is explicitly stated in the email, it seems to send an email to that address saying "please don't send any more."
As mentioned earlier, whether sending it will definitely unsubscribe you is not certain, as it depends on the sender's system.
I actually created an email that displays this message
As a test, I created the following code including the "List-Unsubscribe header" and sent an email.
<?php
$to = "to@example.com";
$subject = "test";
$message = "test message";
$headers = "From: from@example.com";
$headers .= "\r\n";
$headers .= "List-Unsubscribe: <https://blog.knis.jp>,<mailto:from@example.com>";
mail($to, $subject, $message, $headers);
Checking the received email,
"This message is from a mailing list." was displayed.

As you can see, even an email casually created by an amateur can display this message.
And when I sent an email from "Unsubscribe,"
An email was properly delivered to the "mailto:" address in the List-Unsubscribe header.

What will the recipient do with this email?
Will they automatically unsubscribe?
Or will they just collect information?
(They'll also know you're using an Apple product)
In any case, if it's suspicious, it's best not to tap it.




If this was helpful, we appreciate your support!
Any support received will be used for childcare.
Or support us by buying something from the buttons below
(You don't have to buy the linked product.)
Amazon
Rakuten Ichiba
Yahoo! Shopping
PR