acs_mail_lite::address_domain (private)
acs_mail_lite::address_domain
Defined in packages/acs-mail-lite/tcl/acs-mail-lite-procs.tcl
- Returns:
- domain address to which bounces are directed to. If empty, uses domain from FixedSenderEmail parameter, otherwise the hostname in config.tcl is used.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set domain [parameter::get_from_package_key -package_key "acs-mail-lite" -parameter "BounceDomain"] if { $domain eq "" } { # Assume a FixedSenderEmail domain, if it exists. set email [parameter::get_from_package_key -package_key "acs-mail-lite" -parameter "FixedSenderEmail"] if { $email ne "" } { set domain [string range $email [string last "@" $email]+1 end] } else { # # If there is no domain configured, use the configured # hostname as domain name # foreach driver [lmap d [ns_driver info] {dict get $d module}] { set section [ns_driversection -driver $driver] set configured_hostname [ns_config $section hostname] if {$configured_hostname ne ""} { set domain $configured_hostname break } } } } return $domainGeneric XQL file: packages/acs-mail-lite/tcl/acs-mail-lite-procs.xql
PostgreSQL XQL file: packages/acs-mail-lite/tcl/acs-mail-lite-procs-postgresql.xql
Oracle XQL file: packages/acs-mail-lite/tcl/acs-mail-lite-procs-oracle.xql