Skip to main content
added 81 characters in body
Source Link
mmvsbg
  • 3.6k
  • 17
  • 56
  • 74

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?

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. 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?

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?

Source Link
mmvsbg
  • 3.6k
  • 17
  • 56
  • 74

How to insert unsubscribe link to automatically generated PHPMailer email?

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. 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?