Index: openacs-4/packages/ecommerce/tcl/qmail-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/tcl/qmail-procs.tcl,v diff -u -r1.5 -r1.5.2.1 --- openacs-4/packages/ecommerce/tcl/qmail-procs.tcl 8 Mar 2004 19:46:11 -0000 1.5 +++ openacs-4/packages/ecommerce/tcl/qmail-procs.tcl 24 Feb 2005 09:58:35 -0000 1.5.2.1 @@ -12,5 +12,9 @@ @author jsc @creation-date 1999-01-15 } { - ns_sendmail $to $from $subject $body $extraheaders + if { ![empty_string_p $to] } { + ns_sendmail $to $from $subject $body $extraheaders + } else { + ns_log Notice "qmail-procs.tcl: Warning, requested to send an email without an email address. subject=$subject" + } }