From README.txt: "Extract the source code into a location of your choice."

...please could you provide me with the information, what does it mean? Somewhere into the sites/all/modules, or???
Thank you in advance.

Comments

Mike Wacker’s picture

Basically, once you download the code as a .tar.gz or .zip file, you'll extract the contents of that archive onto your server. You just need to extract the files; there's no installation or setup process.

As for where, it's your call. For one example, if you install the libphp-phpmailer package in Ubuntu Linux, it sticks the files in the folder /usr/share/php/libphp-phpmailer.

my-family’s picture

Thank you for your reply, but: "onto your server": I have not my own server, I use webhosting. But the provider told me that I should do it myself. So please, could you tell me any example, where to extract the files? Into Drupal installation? (I have no other possibility, I have no direct access to the server). Thank you in advance once more.

Mike Wacker’s picture

Hmm, perhaps this is some sort of shared hosting...if you don't have control over the server, but you can access the folders where your Drupal installation is, then it seems like your only option would be to extract the code somewhere where the Drupal installation is.

You could either stick it inside the sunmailer folder or in a separate folder in sites/all/modules

Mike Wacker’s picture

Status: Active » Fixed

I stuck some additional notes in the documentation reflecting this conversation.

my-family’s picture

Thanks a lot

lost305’s picture

I downloaded the PHPMailer v5.1 found at http://sourceforge.net/projects/phpmailer/files/phpmailer%20for%20php5_6/

I found the following directories docs, examples, language, test but I didn't see any libphp-phpmailer folder.

I did see the class.phpmailer.php file and I placed it in the usr/share/ folder as so: usr/share/class.phpmailer.php
That didn't work, so I tried placing it in the and the public_html/includes/ folder as so: public_html/includes/class.phpmailer.php
Still nothing.

I have complete access to my server but I don't know what am I doing wrong.

The Read Me files in the phpmailer folder talk about placing the files in a php.ini folder but I only find a php.ini file.

Can anyone please help me?

Thanks for your time.

toypilot’s picture

I am having trouble as well.

It says you cannot use anything later than version 2.2.1 but you can only download version 5.0?

Does anyone know where to get an older version or am I confused?

Is there any way to do SMTP auth without this module? e.g. by just configuring it in postfix or php settings?

toypilot’s picture

Disregard, I just found the link to version 2.1

Mike Wacker’s picture

@lost305
The libphp-phpmailer folder is not in PHPMailer; Ubuntu's installation process creates that folder and then dumps the files in there. Also, after you extract the source code for PHPMailer, you either need to add that directory to PHP's include path or configure SunMailer and tell it where PHPMailer is (see the README or docs for more info)

@toypilot
Where does it say you can't have a version later than 2.2.1? I'm pretty sure I've tried the latest version of PHPMailer without any issues.

lost305’s picture

@Mike Wacker

Thank you for your reply. I looked at the README in the PHPMailer download and I had an idea that maybe some can use.

This won't work for everybody but if you have access to your server, use SSH (I used the program PUTTY) and I typed the following: locate class.phpmailer.php

My server returned this path:
/usr/local/cpanel/whostmgr/docroot/cgi/fantastico/libraries/PHPMailer/class.phpmailer.php

Then in the PHPMailer path: space in the SunMailer config page I placed this path:
/usr/local/cpanel/whostmgr/docroot/cgi/fantastico/libraries/PHPMailer

Again, this path won't work for most but you can use the SSH command I stated above and you can locate the class.phpmailer.php file if it's on your server and you won't have to go through the mission of installing it.

Thanks for the module and help.

Mike Wacker’s picture

Thanks, I think I'll add a note about the locate command to the README and Advanced help documentation.

toypilot’s picture

Sorry my post was unrelated to SunMailer news letter (I just realised) - apologies.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.