Skip to content

Commit

Permalink
doc(sendSMTPEmail) support helo customization
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierCharuel committed Oct 9, 2024
1 parent 27971d7 commit f2d7518
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,19 @@ export [email protected]
export POP_SMTP_PASSWORD=hunter2
```

#### Custom HELO

> **Note**:
> [Some SMTP relays](https://support.google.com/a/answer/2956491?hl=en&fl=1&sjid=11501593087205020993-NA) does not support `localhost` in the HELO CMD (which is the default pop behavior).
To configure HELO value, you can set the following environment variables.

```
export POP_SMTP_HELO=charm.sh
```

Or via the cli `pop -c charm.sh`|`pop --smtp.helo charm.sh`

### Environment

To avoid typing your `From: ` email address, you can also set the `POP_FROM`
Expand Down

0 comments on commit f2d7518

Please sign in to comment.