From 95192c6d0fd362218425c365009521bf7ac1e863 Mon Sep 17 00:00:00 2001 From: alecpl Date: Tue, 30 Aug 2011 08:16:50 +0000 Subject: - Make 5th argument of rcmail_deliver_message() optional --- program/include/main.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'program/include') diff --git a/program/include/main.inc b/program/include/main.inc index edd74f860..7e85e01fb 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -1653,12 +1653,13 @@ function rcmail_replace_emoticons($html) * @param string $from Sender address string * @param array $mailto Array of recipient address strings * @param array $smtp_error SMTP error array (reference) - * @param string $body_file Location of file with saved message body (reference) + * @param string $body_file Location of file with saved message body (reference), + * used when delay_file_io is enabled * @param array $smtp_opts SMTP options (e.g. DSN request) * * @return boolean Send status. */ -function rcmail_deliver_message(&$message, $from, $mailto, &$smtp_error, &$body_file, $smtp_opts=null) +function rcmail_deliver_message(&$message, $from, $mailto, &$smtp_error, &$body_file=null, $smtp_opts=null) { global $CONFIG, $RCMAIL; -- cgit v1.2.3