You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using a mailto link that includes default body text. The ObsfucateEmail plugin appears not to be obsfucating the body part of the link and when the link is clicked on the default body text is missing in the email client.
Can the obsfucated links retain the body part of the link?
After looking at your site, it is indeed working as intended.
Now on to your problem.
Try creating an uncached chunk to hold your email links:
<a href="mailto:[email protected]?subject=Membership cancellation&body=Hi SOMENAME, I'd like to cancel my ORG membership. My supporter number is SOMENUM. My postcode is SOME POSTAL CODE. The last 4 digits of my bank account number are SOME NUMBERS.</a>
Call it in place of your link:
[[!$testObfuscateSkipBody]]
The above returns:
<a href="mailto:supporters@openrightsgroup.org?subject=Membership cancellation&body=Hi SOMENAME, I'd like to cancel my ORG membership. My supporter number is SOMENUM. My postcode is SOME POSTAL CODE. The last 4 digits of my bank account number are SOME NUMBERS.</a>
You can call the chunk with parameters to use as placeholders for the card numbers, support number, and postal code.
I'm using a mailto link that includes default body text. The ObsfucateEmail plugin appears not to be obsfucating the body part of the link and when the link is clicked on the default body text is missing in the email client.
Can the obsfucated links retain the body part of the link?
Unobsfucated mailto link:
Please email us with at least one of the following
Obsfucated mailto link:
Please email us with at least one of the following
The text was updated successfully, but these errors were encountered: