Template:V13 vm email script variables: Difference between revisions
Jump to navigation
Jump to search
Created page with ";$_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" |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
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 [[Reference13r3:PBX/Config/Authentication#Email_verification|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: | ;$_pbx_auth_email_server: | ||
SMTP server | SMTP server |
Latest revision as of 11:58, 19 August 2024
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