Jump to:
| Project: | Webmail Plus |
| Version: | 6.x-1.4 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
PHPMailer is required in webmail_plus.compose at about line 444.require_once "vendor/PHPMailer/class.phpmailer.php";
I did not find documentation on installing PHPMailer. It seemed a bit silly to document the whole PHPMailer bit when there is now a PHPMailer module. I downloaded and installed the PHPMailer module, followed the module's instructions for installing PHPMailer, then changed your include to the following.require_once drupal_get_path('module', 'phpmailer') . '/phpmailer/class.phpmailer.php';
I also added the following to the webmail_plus.info file.dependencies[] = phpmailer
When the PHPMailer module moves out of alpha/beta status, it seems like the most logical way to maintain the PHPMailer connection.
Comments
#1
Actually there should be a modified version of PHPMailer in vender/PHPMailer. The modifications allow webmail to simulate the message sending in order to generate a copy for the Sent folder.
#2
PHPMailer was added in webmail_plus 6.x-1.7
#3
Where is the vendor directory? I use a standard VPS with WHM and Cpanel. Cannot see vendor directory or PHPMailer directory anywhere.
Where do the modifications come from? The PHPMailer module asks you to download the latest PHPmailer from sourceforge. Sourceforge has PHPMailer v2.3 for PHP5/6 Notes (2008-11-11 03:17). The PHPMailer module extends the standard PHPMailer classes with some extra features.
#4
There are modifications to the class.phpmailer.php itself. It's now included in the webmail_plus 6.x-1.7
#5
#6
Automatically closed -- issue fixed for 2 weeks with no activity.