Skip to content

Salesforce DX plugin to seamlessly update Email Deliverability Access Level via command line interface.

License

Notifications You must be signed in to change notification settings

gfarb/sfdx-deliverability-access

Repository files navigation

sfdx-deliverability-access

sfdx deliverability:access [-l <string>] [-u <string>]

This SFDX Plugin was created to set Email Deliverability Access Level for an org easily and quickly. This project uses Puppeteer and headless browsing to open Setup in the target org and set Email Deliverability Access Level to the desired value.

USAGE
  $ sfdx deliverability:access [-l <string>] [-u <string>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

OPTIONS
  -l, --level=level (values are not case sensitive)
      No access: None, N, 0
      System email only: System, S, 1
      All email: All, A, 2

  -u, --user=user
      Username or alias for the target org; overrides default target org

  --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)
      [default: warn] logging level for this command invocation

EXAMPLES
  sfdx deliverability:access --level All
  sfdx deliverability:access --level None
  sfdx deliverability:access --level System
  sfdx deliverability:access -l a -u [email protected]

Installation

sfdx plugins:install sfdx-deliverability-access
sfdx deliverability:access --help

Requirements

  1. Node.js
  2. Salesforce CLI
  3. Salesforce Lightning

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Supporting Docs