+ 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