Skip to content

Setup credentials from environment variables#14

Open
ladiesman218 wants to merge 2 commits into
Joannis:masterfrom
ladiesman218:master
Open

Setup credentials from environment variables#14
ladiesman218 wants to merge 2 commits into
Joannis:masterfrom
ladiesman218:master

Conversation

@ladiesman218

Copy link
Copy Markdown
  • Added a static property named defaultSMTPCredentials:
  • sendMail() now has a default value for credentials parameter:

Credential values can be get from environment, it's safer and easier.
With the static property `defaultSMTPCredentials` defined in previous
commit, calling sendMail() can ommit passing in the `credentials`
parameter.
Also changed README.md to accommodate this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant