feat: Add optional SMTP_NAME configuration for connecting to SMTP servers that require the client to have a specific hostname

This commit is contained in:
Tom Moor
2023-01-13 21:49:57 -05:00
parent d20f379943
commit e3db7455b3
2 changed files with 12 additions and 2 deletions

View File

@@ -264,6 +264,12 @@ export class Environment {
*/
public SMTP_HOST = process.env.SMTP_HOST;
/**
* Optional hostname of the client, used for identifying to the server
* defaults to hostname of the machine.
*/
public SMTP_NAME = process.env.SMTP_NAME;
/**
* The port of your SMTP server.
*/