[pLog-svn] r5423 - plog/branches/lifetype-1.2/class/mail
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Sat May 19 10:19:53 EDT 2007
Author: oscar
Date: 2007-05-19 10:19:53 -0400 (Sat, 19 May 2007)
New Revision: 5423
Modified:
plog/branches/lifetype-1.2/class/mail/emailservice.class.php
Log:
Fixed issue http://bugs.lifetype.net/view.php?id=1310 -- can't load smtp.class.php when using lt_include
Modified: plog/branches/lifetype-1.2/class/mail/emailservice.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/mail/emailservice.class.php 2007-05-19 14:13:26 UTC (rev 5422)
+++ plog/branches/lifetype-1.2/class/mail/emailservice.class.php 2007-05-19 14:19:53 UTC (rev 5423)
@@ -95,6 +95,9 @@
// create a phpmailer object
$mail = new PHPMailer();
+ // need to set PluginDir if we use lt_include()
+ $mail->PluginDir = PLOG_CLASS_PATH."class/mail/phpmailer/";
+
// set a few fields
$mail->ContentType = $message->getMimeType();
$mail->From = $message->getFrom();
More information about the pLog-svn
mailing list