Template:V13 vm email script variables: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| 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. | The following script variables will yield those email settings when read. | ||
Latest revision as of 10: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