ns_sendmail (public, deprecated)
ns_sendmail to from subject body [ extraheaders ] [ bcc ]
Defined in packages/acs-mail-lite/tcl/acs-mail-lite-procs.tcl
Deprecated. Invoking this procedure generates a warning.
Replacement for ns_sendmail for backward compatibility.
- Parameters:
- to
from
subject
body
extraheaders (optional)
bcc (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: ad_log_deprecated proc ns_sendmail ns_log warning "ns_sendmail is deprecated. Use acs_mail_lite::send instead." set extraheaders_list [list] if { $extraheaders ne "" } { foreach {key value} [ns_set array $extraheaders] { lappend extraheaders_list [list $key $value] } } acs_mail_lite::send -to_addr [split $to ","] -from_addr $from -subject $subject -body $body -bcc_addr [split $bcc ","] -extraheaders $extraheaders_listGeneric 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