-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc(sendSMTPEmail) support helo customization
- Loading branch information
1 parent
27971d7
commit f2d7518
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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` | ||
|