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