• Resolved carminecappetti

    (@carminecappetti)


    Inside the email body I need to add the encoded email address of the recipient.
    Something like this:
    < a href= “blablabla/?e=XYZXYZ” >Click here< /a > where XYZXYZ is the encoded version of the recipient.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Kuba Mikita

    (@kubitomakita)

    In Notification -> Settings -> Carriers -> Email you could select HTML type and allow for unfiltered HTML. This will allow you to use that HTML tag with encoded email.

    That should do the trick ??

    Thread Starter carminecappetti

    (@carminecappetti)

    Hi Kuba. Thanks for your answare.

    Anyway it’s not the answare i was expecting. Maybe i wrong to explain my problem.
    The encoded addredd shold be a PHP function somethings like base64_encode().

    I try to explain everyting:
    In the recipient field I have a custom merge_tag “{merged_emails}” that contains a comma separeted list of email address. (it works!);
    Now I need to show the recipient email address inside the body in a form like base64_encode($recipientAddress)…

    Thanks for help.

    Plugin Author Kuba Mikita

    (@kubitomakita)

    Oh, I see!

    The only way to do that would be to copy your existing merge tag and wrap it with base64_encode() function.

    Otherwise, it would require another merge tag resolver that would be able to take an argument and return encoded text. Which is not a bad idea… I’ve added this to our backlog.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Need to add an encoded email address inside the email body’ is closed to new replies.