Template:V13 vm email script variables

From innovaphone wiki
Revision as of 10:58, 19 August 2024 by Vsc (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

As of 13r1, scripts that use email functionality (such as email.xml) do not need to include a definition of SMTP connection parameters. The static configuration data from PBX/Config/Authentication/Email Verification can be read in for this purpose.

The following script variables will yield those email settings when read.

$_pbx_auth_email_server

SMTP server

$_pbx_auth_email_host

Client host name

$_pbx_auth_email_addr

Sender Email address

$_pbx_auth_email_usr

Username for authentication

$_pbx_auth_email_pwd

Password for authentication

$_pbx_auth_email_sender

Sender name