Guest User

Untitled

a guest
Jan 20th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. AESKey is the encrypted value which I got using apex crypto class.
  2. String TargetUrl = 'https://mysandbox.cs88.force.com/redirectpage';
  3. String hyperlink = '<a href="'+TargetUrl+'?uniqueId='+AESKey+'">Link to Join</a>';
  4. mail.setHtmlBody(htmlbdy);
  5.  
  6. String KeyValue= ApexPages.currentPage().getParameters().get('uniqueId');
  7. System.debug('RequestKey:-'+KeyValue);
  8.  
  9. But after doing getParameters().get('uniqueId'), I get
  10. E f7X10FDW3ExD1+jgfcRdHD1Helxk vk=
Add Comment
Please, Sign In to add comment