How do I remove the invisible anchor tag from emails?
-
We have a webform (ninja forms) on our internal site that we use to send notifications to customers. Whenever an email is sent from my WordPress site to a user or users, there is an invisible anchor tag being sent with any mail that includes the site URL. This shows the site URL in the outlook preview (as well as other mail clients that preview the message). The anchor tag appears to be hidden in the body of the email. If I view source on a test email (sent to myself) I can see it –
<a href="https://siteurl" style="color: #ffffff; font-family: Georgia,Times New Roman,serif; font-size: 40px; font-style: italic; font-weight: normal; text-decoration: none;"></a>
I have tried using default http mail as well as using several plugins to send mails via SMTP (WP Mail SMTP, Easy WP SMTP, etc) and they all still include the hidden anchor tag in the email body. I’ve submitted support topics to several of the plugin authors, as well as to the ninja forms team, all have responded saying this is not something their plugin is doing. So I must assume this is something WordPress itself is doing.
Does anyone have any suggestions on how I can remove this tag from emails being sent from my WordsPress instance? It is a requirement to be able to use the email form. Thanks!
- The topic ‘How do I remove the invisible anchor tag from emails?’ is closed to new replies.