Index: includes/phpmailer.class.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/phpmailer/includes/phpmailer.class.inc,v
retrieving revision 1.18
diff -u -p -r1.18 phpmailer.class.inc
--- includes/phpmailer.class.inc	14 Dec 2009 18:34:47 -0000	1.18
+++ includes/phpmailer.class.inc	9 Jan 2010 15:38:38 -0000
@@ -42,7 +42,7 @@ class DrupalPHPMailer extends PHPMailer 
     $this->SMTPDebug = variable_get('smtp_debug', 0);
 
     // Adjust path to SMTP class.
-    $this->PluginDir = drupal_get_path('module', 'phpmailer') . '/phpmailer/';
+    $this->PluginDir = './' . libraries_get_path('phpmailer') . '/';
   }
 
   /**
