Closed (fixed)
Project:
SunMailer Newsletter
Version:
6.x-1.0-beta1
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Jan 2010 at 08:16 UTC
Updated:
5 Feb 2010 at 20:30 UTC
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
Comment #1
Mike Wacker commentedBasically, 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.
Comment #2
my-family commentedThank 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.
Comment #3
Mike Wacker commentedHmm, 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
Comment #4
Mike Wacker commentedI stuck some additional notes in the documentation reflecting this conversation.
Comment #5
my-family commentedThanks a lot
Comment #6
lost305 commentedI 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.
Comment #7
toypilot commentedI 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?
Comment #8
toypilot commentedDisregard, I just found the link to version 2.1
Comment #9
Mike Wacker commented@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.
Comment #10
lost305 commented@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.
Comment #11
Mike Wacker commentedThanks, I think I'll add a note about the locate command to the README and Advanced help documentation.
Comment #12
toypilot commentedSorry my post was unrelated to SunMailer news letter (I just realised) - apologies.