From 1d58f6ca61d462b66ae51c081151a685ebd77a83 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Tue, 12 Jan 2010 13:02:07 +0000 Subject: [PATCH] Fix: missing attach-files --- htdocs/includes/smtps/SMTPs.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/htdocs/includes/smtps/SMTPs.php b/htdocs/includes/smtps/SMTPs.php index cde3a4c313d..b0dfa909e3d 100644 --- a/htdocs/includes/smtps/SMTPs.php +++ b/htdocs/includes/smtps/SMTPs.php @@ -1994,7 +1994,9 @@ class SMTPs /* * @TODO Investigate "nested" boundary message parts */ - $content = 'Content-Type: multipart/related; boundary="' . $this->_getBoundary() . '"' . "\r\n"; + //$content = 'Content-Type: multipart/related; boundary="' . $this->_getBoundary() . '"' . "\r\n"; + $content = 'Content-Type: multipart/mixed; boundary="' . $this->_getBoundary() . '"' . "\r\n"; + // TODO Restore // . "\r\n" // . 'This is a multi-part message in MIME format.' . "\r\n"; @@ -2511,6 +2513,9 @@ class SMTPs /** * $Log$ + * Revision 1.11 2010/01/12 13:02:07 hregis + * Fix: missing attach-files + * * Revision 1.10 2009/11/01 14:16:30 eldy * Fix: Sending mail with SMTPS was not working. *