From 353a842d6875dcafc5d02d97f149eb3fc549cbbe Mon Sep 17 00:00:00 2001 From: dionisrom Date: Tue, 31 Jan 2012 09:48:00 +0000 Subject: [PATCH] I changed the method to include PHPMailer class according to php version used on servers. git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10062 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/mail/Mail.class.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/classes/mail/Mail.class.php b/classes/mail/Mail.class.php index a833ebe13..9575e959d 100644 --- a/classes/mail/Mail.class.php +++ b/classes/mail/Mail.class.php @@ -1,5 +1,12 @@ =')) +{ + require_once _XE_PATH_ . "libs/phpmailer/phpmailer.php"; +} +else +{ + require_once _XE_PATH_ . "libs/phpmailer/class.phpmailer.php"; +} /** * @brief Mailing class for XpressEngine