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
aby thomas 3aby thomas 3 

PageReference p=Page.EmailPage

PageReference p=Page.EmailPage; this will show 'Page EmailPage does not exist' this error, Please help me,,
Best Answer chosen by aby thomas 3
Banwari kevat1Banwari kevat1
can you try below statement: 
PageReference pageRef = new PageReference('/apex/EmailPage');

Let me know  if you are facing this error again.