Hello Airelle,
Sure no problem at all, glad to lend a hand.
To check your shared-server IP for blacklisting, first send yourself a message to Gmail. Then click the little down arrow (
more) at the top-right of the message, and select
Show original.
Starting from the bottom of the message, scan upward till you see the first line that looks something along the lines of:
Received: from ecbiz103.inmotionhosting.com (ecbiz103.inmotionhosting.com. [
70.39.145.116])
In my case, I've installed phpList on one of our shared-servers and the mail IP address is
70.39.145.116. So take that IP address over to
MXToolBox.com's Blacklist checker, by far the most useful blacklist checker I've stumbled upon, as it will do a large check for you against multiple blacklists and then provide you with links to go see any blacklists you might be listed on.
You can also use Gmail's SMTP server's as you mentioned. However be careful, I'll have to double check for you a bit later today because I have to meet up some friends for a run, but I believe you could hit a daily limit of outgoing messages, and I'm not sure exactly what theirs would be.
Just open up your
/lists/config/config.php script, then look for this line:
- Code: Select all
# To use a SMTP please give your server hostname here, leave it blank to use the standard
# PHP mail() command.
define("PHPMAILERHOST",'');
By default, phpList will use the server's PHP
mail() function, if you change that line to read:
- Code: Select all
define("PHPMAILERHOST",smtp.gmail.com'');
That will instead use the phpMailer script which handles SMTP authentication, and it can use whatever server you'd like then. Next you need to look for:
- Code: Select all
if you want to use smtp authentication when sending the email uncomment the following
# two lines and set the username and password to be the correct ones
#$phpmailer_smtpuser = 'smtpuser';
#$phpmailer_smtppassword = 'smtppassword';
Un-comment the two lines that begin with
#$phpmailer by removing the
#'s. Then fill out
smtpuser and
smtppassword with your Gmail username and password.
Please also note when doing it this way, you'll want to add Gmail's IP address ranges to your own domain's DNS SPF (
Sender Policy Framework) records. That way any server that does an SPF check on incoming mail, will see that the message isn't just being spoofed from any old Gmail user, and flag it as spam.
I'm pretty sure that should all work, but haven't had time to test it out yet myself. If you have success with that let me know, or if you run into any issues, I can test it out later today myself and let you know what else you might need to do.
- Jacob