function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ranjith PunneliRanjith Punneli 

Pass parameter to vf email template

Hi All,

 

I have a requirement to send username and password to customer portal users. The current structure has an encrypted field in contact object to store password. 

 

As vf email template cannot use encrypted  fields in email, I have added a text variable in login controller to store this password.

Now I need to pass this text variable from controller to vf email template. How can I do this? 

 

Thanks,

R