Accessing email services
Setting up role-based access to email.
Roles govern HTTP access to the REST API endpoints in DreamFactory. When you set up access to an email service in the 'Services' tab, no email endpoints are accessible by default (unless you are a DreamFactory Admin).
You can give access to an email service by following the example below. Note that the example below works the same for each supported email system (local email, Amazon SES, Mailgun, Mandrill, and SMTP)
Example - Enable HTTP access to local email for a role.
- 1. Log into the DreamFactory admin console as an Admin.
- 2. Click on 'Roles' > 'Create'.
- 3. In the 'Access' tab, select email for 'Service' (this is the default local email service), * for 'Component' (* simply denotes access to all email endpoints), HTTP verbs for 'Access', and API for 'Requestor'.