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
hari0853701703454959hari0853701703454959 

who to write code the below requirment....

1. Create a VF page where user can select an account from a pick-list.
2. Below the pick-list, there will be a text area for user to type message.
3. Below text area a Submit button is needed.
4. When user clicks on Submit, an email has to be sent to the selected account.
5. Email should have the message user typed in text area.
6. Email should have a dynamic unsubscribe link.
7. When recipient clicks on unsubscribe link it should take them to a public force.compage.
8. This page will ask recipient if they want to unsubscribe.
9. When recipient confirms, the  flag for sending emails should be set to false.
raj4cloudraj4cloud
please refer the sample code which is being used in a similar way for contacts. 
https://www.salesforce.com/docs/developer/pages/Content/pages_email_custom_controller.htm
hari0853701703454959hari0853701703454959
Hi, I need code for the above requirement.. Regards, *Hareesh*