Skip to main content
Mayur Aggarwal (Sunlife) 님이 #Salesforce Developer에 질문했습니다
Hi All,

Little help pl...

I want to create a button in campaign on clicking it i want to send an email template selected to selected profile.

 
답변 1개
  1. 2015년 4월 1일 오전 10:40
    (if you wish to achieve this without any code)

    This can be done by creating a custom button which executes onclick javascript, however, you will have to select the list of people who belong to a specific profile and add them to the to list:

    location.replace('/email/author/emailauthor.jsp?retURL=/{!Campaign.Id}&p3_lkid={!<Campaign>.Id}&rtype=003&template_id=<give the template ID>&p24={!<Campaign>.email_to__c}'); //here email_to__c is the custom email field where TO: email address is stored