Decrypt field content in Email_Sending event

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
philmills
User
Posts: 556

Decrypt field content in Email_Sending event

Post by philmills »

I'm using field encryption extension, in some places.
I have a field which requires encryption in the database but for email_sending on add/edit it needs to be decrypted.
I tried Decrypt($args["rsold"][$fieldName]) but it seems to return an empty value in the email
In its native form $args["rsold"][$fieldName] it shows as encrypted text in the email

Whats the right syntax?


philmills
User
Posts: 556

Post by philmills »

got it
PhpDecrypt($args["rsold"][$fieldName])


Post Reply