Page 1 of 1

Decrypt field content in Email_Sending event

Posted: Mon Mar 11, 2024 8:38 am
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?


Re: Decrypt field content in Email_Sending event

Posted: Mon Mar 11, 2024 9:07 am
by philmills

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