Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

snail22

macrumors member
Original poster
Aug 7, 2012
67
7
When I compose an email that includes an email address or url in the body of the message, the Mail app adds an html tag to the body of the message, like this:

Screenshot 2024-04-21 at 12.38.40 PM.png


What's really annoying is that it gets added AFTER I send the message, so I can't just delete it. In other words, it looks fine before I hit send, but then I check the outbox and the tag is there. And if someone replies I can see it in my original message as well.

I've found nothing on any website or forum about this issue. I feel like if it were widespread, someone else would surely have griped about it. Can anyone confirm this does or doesn't happen to them? Any suggestions for a fix? I'm running the latest version of Sonoma on a 2021 Macbook Pro M1. Thanks!
 

Attachments

  • Screenshot 2024-04-21 at 12.32.30 PM.png
    Screenshot 2024-04-21 at 12.32.30 PM.png
    43 KB · Views: 41

snail22

macrumors member
Original poster
Aug 7, 2012
67
7
Additional info if it's useful: I have both an iCloud and Yahoo email address, and this happens regardless of which account I send the message from. However, it only happens on the Mac Mail app. iCloud webmail, iOS mail, Yahoo mail app, etc. don't have this issue.
 

snail22

macrumors member
Original poster
Aug 7, 2012
67
7
OK I switched from "plain text" to "rich text" in Mail settings and the problem went away. Still curious if others experience this issue in plain text mode, but at least I found a fix.
 

svenmany

macrumors demi-god
Jun 19, 2011
2,275
1,520
OK I switched from "plain text" to "rich text" in Mail settings and the problem went away. Still curious if others experience this issue in plain text mode, but at least I found a fix.

Just tested. I see that too. It seems to be a consequence of Apple Mail interpreting it as a link when you type it in. If I right-click on the address and select "Link/Remove Link", then the problem goes away.
 

MacGizmo

macrumors 68040
Apr 27, 2003
3,214
2,514
Arizona
If you send a link as Plain Text instead of Rich Text/HTML, then the tag is necessary and is added in automatically. It's not a bug, that's the way it's supposed to work.
 

eRondeau

macrumors 65816
Mar 3, 2004
1,184
461
Canada's South Coast
Under macOS Sonoma Mail Settings -> Composing -> Composing there's a box labelled "Add Link Previews". It's checked by default; I think it's new in Sonoma. It's not documented anywhere in Mail Help. This might be your culprit as it seems to generate an "inline preview" of the link sent. I often send email to a group of 15 friends and one day everyone who used a PC started complaining my links didn't work anymore. I went looking at my Mail settings, found this one, unchecked it, and everything went back to normal. For what it's worth...
 

snail22

macrumors member
Original poster
Aug 7, 2012
67
7
If you send a link as Plain Text instead of Rich Text/HTML, then the tag is necessary and is added in automatically. It's not a bug, that's the way it's supposed to work.
I'm gonna say it's definitely a bug, though admittedly a relatively harmless one. An html tag is kind of useless if its just being read as plain text. It just makes my emails look cluttered and unprofessional.
 

svenmany

macrumors demi-god
Jun 19, 2011
2,275
1,520
I'm gonna say it's definitely a bug, though admittedly a relatively harmless one. An html tag is kind of useless if its just being read as plain text. It just makes my emails look cluttered and unprofessional.

I think it's a bug too.

Today, I'm retesting. It has stopped doing it. Yesterday, after typing an email address and then a space, the email address would appear as a link. I clicked on it and selected remove link. I did that a couple of times. That fixed the issue. Today, with no other settings change, the email address does not appear as a link and no mailto is added.

I do have the preferences setting "add link previews" set.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.