This configuration file is used by Symfony mailer to authenticate to the email server in order to send an email message.
It is best practice to store this information separately to help avoid people stealing it.
```console
$ nano .env
```
```
MAILER_PWD="enter-password"
MAILER_PREFIX="smtp://username@example.com:"
MAILER_SUFFIX="@mail.example.com:465"
```
**Note:** Enclose the variables in double quotes to avoid the value being truncated
**Note:** TLS (SSL) peer verification is done by default. This can be disabled by adding "?verify_peer=0" to the end of `MAILER_SUFFIX` (e.g. MAILER_SUFFIX="@mail.example.com:465?verify_peer=0"), though this is not advisable.
## Run The Code
At this stage the code is ready. A successful run will return the prompt and no message will be displayed in the
terminal. Check your email inbox for the sent email message.
```console
$ php mailer.php
```
## Copyright License
The copyright license (LICENSE) is only referring to the source code.