0

I'm using PHPMailer to send in a newsletter from my website which works fine. Of course, I'd like to add an unsubscribe link at the end of each email, which I'm also successfully able to do, generating user specific codes and so forth. I have isHTML set to true.

The problem is that once I send the email, Yahoo, for example, puts a class "nofollow" on every link present in the email, including the unsubscribe one. As a result, the links become unclickable and users are not able to access them. I've tried using <unsubscribe> tags but with no success.

Any ideas how I can make sure that users will be able to click on the links that I send?

4
  • stackoverflow.com/questions/17142935/… Commented May 11, 2014 at 11:49
  • 1
    This is not even similar to the question that I asked. I'm able to successfully generate unsubscrirbe codes and send them to the users. My problem is that email clients such as Yahoo remove all links from the messages that I generate so users cannot follow them. Commented May 11, 2014 at 11:58
  • 1
    “Yahoo, for example, puts a class "nofollow" on every link present in the email” – and how exactly is that problematic? Commented May 11, 2014 at 12:39
  • The 'nofollow' disables the link so the user is not able to click on it. Commented May 11, 2014 at 16:45

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.