I'm making an application that needs to retrieve all the emails in the organization. Currently, I only get the email of one particular person, i.e. the one who install's the application. How do I get everyone's email?


So for example:

if John, Bob, and Mark all work in the same organization and John installs it, I know how to get his email. But I also want Bob and Mark's email.

Thank you in advance.

  • I'm not sure I understand your question, are you looking for the Email address of every User or Contact?
    – Matt K
    Apr 26, 2013 at 14:20
  • every user in the organization on which the application was installed.
    – HappyCry
    Apr 26, 2013 at 14:21
  • 1
    Could you post some code or the method you're currently using to obtain the installer's email? Its difficult to help someone without knowing where they're starting from. Also, are the emails related to anything like Accts, Opps, Cases, etc?
    – crmprogdev
    Apr 26, 2013 at 17:11

1 Answer 1


In salesforce we have a method call post installer class. Which execute once user install the application. You can write the code into that calss to get email id of organization.

Thanks, Piyush parmar


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .