Template:V13 vm email script variables

From innovaphone wiki
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