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
FilikinFilikin 

Site.createPortalUser - Controlling who the email comes from

Hi,

in  Site.createPortalUser "The optional opt_sendEmailConfirmation argument determines whether a new user email is sent to the portal user"

 

How do I control who this email appears to come from?

 

I tried going to the email template and changing the author, but the email still appears to come from me (the system admin).

 

Best Answer chosen by Admin (Salesforce Developers) 
KapilCKapilC
Filikin Go to SETUP -> App Setup(Heading left menu) -> Customize -> Customer Portal -> Settings In right side you will see a heading with "Email Notification Settings" in this you will see an option "From Email Address" Edit this email youremail will always send with this email Id. [If you got answer from my post please mark it as solution.] Thanks, Kapil

All Answers

KapilCKapilC
Filikin Go to SETUP -> App Setup(Heading left menu) -> Customize -> Customer Portal -> Settings In right side you will see a heading with "Email Notification Settings" in this you will see an option "From Email Address" Edit this email youremail will always send with this email Id. [If you got answer from my post please mark it as solution.] Thanks, Kapil
This was selected as the best answer
FilikinFilikin

Many thanks, worked perfectly