Hi David
Try to use the full path to the php file.
The following constants may be useful to you.
ABSPATH - root directory of site
WP_PLUGIN_DIR - wp-content/plugins
Example. If you file is in the root wordpress directory.
Code:
require ABSPATH. 'PHPMailerAutoload.php';
Best regards, Kirill
Webcraftic team