Home › Forums › General Issues › Email obfuscation › Reply To: Email obfuscation
Hello,
i did try the solutions you explained -and even some encoding plugins- but cannot get it working using a mailto template that include subject line and body, someone could please help me to get it working this way:
<a title=click here to open the email" href="mailto:<?php the_field('emailforrequest'); ?>?subject=the subject line&Body=my body content that may call other php function such as <?php the_title(); ?>"><img class="imgclass" title="imgtitle" alt="imgalt" src="imgsource.png" width="000" height="000" /></a>
Where ‘<?php the_field(’emailforrequest’); ?>’ is my php code to call the custom field ’emailforrequest’ that contains the email address, it is different email address for each post.
Thanks ahead for your time
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
🤔 Curious about the ACF user experience? So are we! Help guide the evolution of ACF by taking part in our first ever Annual Survey and guarantee you’re represented in the results. https://t.co/0cgr9ZFOJ5
— Advanced Custom Fields (@wp_acf) May 8, 2023
© 2023 Advanced Custom Fields.
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.