I've got a newsletter that I want to ensure the anchor links are working as often as possible for viewers. Are there any case statements or alternatives to allow anchors in most, if not all, current mail clients?
Anchors can be tricky, becase you're relying on the receiving email client/inbox to be interactive with the links in the email. With traditional links, the email client will just navigate you to your browser, and then it's the browser's responsibility to head to the webpage you're linking out to. With Anchor links, the email client is needing to respond to the link and navigate to a particular portion of the email that you're viewing, and because each email client is slightly different, not all of them may respond to those links in the same way.
I've found that the order in which you're applying your anchors/links and the name you're giving your anchors can make a big difference in the way they're set up in the email, and in turn, how the receiving email client will respond.
I like to make sure that anchors are one of the last thing I do in an email. Not only does that keep my focus on making sure my email content is the top priority, but it also allows me to make the process much more efficient. Once I've got all of my content in order, I'll go through and place anchors in the mailing where I'd like them to be. And, I'll make sure when naming those anchors that I'm avoiding capital letters, special characters, and spaces (for example, instead of "Cyber Monday", I would use "cybermonday"). Once I've got all of my anchors in place, I'll be able to easily highlight the text I want to link to those anchors, and select them accordingly. Keeping the anchor creation and linking process until the end will also prevent you from having to do unnecessary edits.