Gmail & Phplist

Solutions for other phpList version 2 users
Forum rules
Please do not ask questions here, this is for Solutions you have discovered or come across.

Postby ctomasi » 1:23am, Sun 19 Aug, 2007

Thank you for all the great info in this forum. I'm new to PHPlist. My website is hosted through GoDaddy, but my mail is hosted on Gmail.

Despite all my efforts at modifying config/config.php and admin/processbounces.php per this thread, I haven't been able to send a decent test message. All I get is "failed". Can I get more detailed info somewhere? Even the event log is vague.

Somewhere I'm still missing something. My config.php and processbounces.php mirror the previous message (save proper login/password info.)

Thanks.
ctomasi
phpList newbie
 
Posts: 4
Joined: 1:15am, Sun 19 Aug, 2007

Postby jalvarez » 3:42pm, Fri 07 Sep, 2007

I also got the blank page and I solved it adding a semicolon after:

$phpmailer_smtpport = '465'


So it looks like this:

$phpmailer_smtpport = '465';


I still can't solve my bounce process probem though:

Cannot create POP3 connection to popDOTgmailDOTcom: Can't open mailbox {popDOTgmailDOTcom:995/pop3/ssl}INBOX: invalid remote specification
Identifying consecutive bounces
Nothing to do
Identifying consecutive bounces
0 users processed


Any ideas, anyone?

Regards

Jaime

PS: The DOTs are necessary in order to avoid the URL posting ban on new users...
jalvarez
phpLister
 
Posts: 5
Joined: 12:38am, Fri 07 Sep, 2007

Mailer Error: Could not instantiate mail function.

Postby josephlindley » 5:42pm, Fri 07 Sep, 2007

I also had the missing semi-colon... I think it gets missed if you copy and paste out of the forum......

Anyway, it cheered me up to see someone else was that silly :o)

I've also had this error message;

Mailer Error: Could not instantiate mail function.

in the eventlog when I try to send messages.

I've tracked this down to a comment on line 552 of admin/sendemaillib.php. Uncomment this line:

Code: Select all

    #$mail->IsSMTP();




I'm moving on to bounce processing now.....

Joe
josephlindley
phpLister
 
Posts: 6
Joined: 12:44am, Thu 06 Sep, 2007

Re: Mailer Error: Could not instantiate mail function.

Postby jalvarez » 6:06pm, Fri 07 Sep, 2007

josephlindley wrote:I also had the missing semi-colon... I think it gets missed if you copy and paste out of the forum......

Anyway, it cheered me up to see someone else was that silly :o)


As I guess we are the majority in this planet, that's the correct way to see this...

It makes you happy all the time!!

Cheers

Jaime
jalvarez
phpLister
 
Posts: 5
Joined: 12:38am, Fri 07 Sep, 2007

Postby kev@num » 2:24pm, Fri 26 Oct, 2007

i guess your own server won't be clogged up trying to send 1000's of emails, instead it will be down to gmail servers! I might give this method a go
kev@num
phpLister
 
Posts: 9
Joined: 1:00pm, Tue 20 Feb, 2007

Postby panda2005 » 4:23am, Fri 30 Nov, 2007

Thanks to everybody here for all the valuable comments. I just installed phplist on a student club's site and it works, so I thought I'd share/confirm our setup :

- Our host is OVH France, on a french IP, Apache/Linux, MySQL 5.0.32, PHP 4.4.7

- Retrieving mail using POP3, enabled on a Google Apps account: (config/config.php)
Code: Select all
$bounce_mailbox_host = 'pop.gmail.com';
$bounce_mailbox_user = 'contact@ourdomain.org';
$bounce_mailbox_password = 'password';
$bounce_mailbox_port = "995/pop3/ssl";


- Sending mail through Google's SMTP server: (config/config.php)
Code: Select all
define("PHPMAILER",1);
define("PHPMAILERHOST",'ssl://smtp.gmail.com');
$phpmailer_smtpuser = 'contact@ourdomain.org';
$phpmailer_smtppassword = 'password';
$phpmailer_smtpport = '465';


It all works like a charm :-)

Good luck to all!
panda2005
phpList newbie
 
Posts: 2
Joined: 3:46am, Fri 30 Nov, 2007

Postby WinstonN » 7:42am, Fri 30 Nov, 2007

Halo,

Congratulations for getting it working :)
I am interested in the throughput that you are getting from Google's SMTP. Have you tried to send a really big list, with say 5000 emails? Hmm, you should change the SPF records for your domain too :)

Let me know I am burning to find out

Bye,
Wins
Winston Nolan
http://www.buyxonline.com
eCommerce and Email Marketing
WinstonN
PL Master
 
Posts: 158
Joined: 3:31pm, Sun 04 Feb, 2007
Location: Cape Town, South Africa

Postby panda2005 » 1:32pm, Fri 30 Nov, 2007

I'm afraid I won't be sending to such a big mailing list in the near future! We have a mere 500 members or so receiving a weekly newsletter and a few occasional 'special' editions (big parties, etc.) :-)

I remember seeing somewhere in the Google help files that a limit of around 1000 mails a day was in place, but I can't seem to be able to find that now.

Anyway, SPF records are already in place on our DNS as specified by Google. Is that what you're writing about? By the way, for the sake of precision, we have normal (free) accounts in Google Apps.

I'll try to keep you up to date after the first couple weeks of use.
panda2005
phpList newbie
 
Posts: 2
Joined: 3:46am, Fri 30 Nov, 2007

Postby WinstonN » 7:06am, Mon 03 Dec, 2007

Thanks mate. Keep me posted as this is a very interesting topic for me. Using google for smtp and pop - I am allready using google for all my bounces and it works pretty neat.

Let me know if you need help with that, ill be sure to help out,

cheers my friend,
may you have a wonderful week!

wins
Winston Nolan
http://www.buyxonline.com
eCommerce and Email Marketing
WinstonN
PL Master
 
Posts: 158
Joined: 3:31pm, Sun 04 Feb, 2007
Location: Cape Town, South Africa

Question on Google smtp headers

Postby mcleod9 » 8:39am, Mon 03 Dec, 2007

The headers for emails sent out using Google should be noted as such, correct?

I'm using an installation on a Dreamhost account, am using the config that panda2005 mentioned above (POP is enabled in my Google account) but the headers still say the emails are coming from Dreamhost. No mention of Google sending the messages at all.

I can't imagine this is normal, so I'm likely missing something obvious. Or not. I'm not sure :\

Any thoughts or suggestions would be immensely appreciated.
mcleod9
phpList newbie
 
Posts: 2
Joined: 6:25am, Mon 22 Oct, 2007

Postby WinstonN » 8:53am, Mon 03 Dec, 2007

Hi,

If you don't mind. Paste a header for me let's check it out.
I know PHPList adds some headers like this:

X-Mailer: phplist v2.10.4
X-MessageID: 84
X-ListMember: email.address@gmail.com
Precedence: bulk
Errors-To: listreports@domain.com

In order to be correct yea it should note Gmail in the headers. You have added google's ip's to your SPF records?

You can also change those headers in your configure (in the phplist admin page), or config file
Add the sending user@gmail.com as the originating emails and play around with that.

Wins
Winston Nolan
http://www.buyxonline.com
eCommerce and Email Marketing
WinstonN
PL Master
 
Posts: 158
Joined: 3:31pm, Sun 04 Feb, 2007
Location: Cape Town, South Africa

Postby jeric.goya » 5:38pm, Mon 03 Dec, 2007

Hi I have a problem related to this topic.

Here is my goal:
To Send a Test Message to an email address using PHPlist using the Gmail SMTP server.

I have: a gmail account.

here are my settings:
Servers: XAMPP Apache/2.2.2,MySQL - 5.0.21
Phplist: 2.10.5

I have created a database and have properly installed it.

My config/config.php looks like this:

Code: Select all
# If you want to use the PHPMailer class from phpmailer.sourceforge.net, set the following
# to 1. If you tend to send out html emails, it is recommended to do so.
define("PHPMAILER",1);

# To use a SMTP please give your server hostname here, leave it blank to use the standard
# PHP mail() command.
define("PHPMAILERHOST",'ssl://smtp.gmail.com');

# 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 = '********@gmail.com';
$phpmailer_smtppassword = '********';
$phpmailer_smtpport = '465';


and i have removed the comment on

Code: Select all
 $mail->IsSMTP();


however when i send test message using the admin tool in localhost/list/admin/

it always says: "Sent test mail to: *************@gmail.com failed"


I have read all your posts in this thread and can't seem to figure out why mine doesn't work.

Please help me.

A Pre-Emptive thanks to all of you.

-Jeric
jeric.goya
phpList newbie
 
Posts: 3
Joined: 5:24pm, Mon 03 Dec, 2007

Postby WinstonN » 6:25am, Tue 04 Dec, 2007

hello jeric.goya,

$phpmailer_smtpport = '465';

The smtp port for google is 587
your other settings looks fine from what I can tell,
try that and let us know

Wins
Winston Nolan
http://www.buyxonline.com
eCommerce and Email Marketing
WinstonN
PL Master
 
Posts: 158
Joined: 3:31pm, Sun 04 Feb, 2007
Location: Cape Town, South Africa

Postby jeric.goya » 2:42pm, Tue 04 Dec, 2007

hey Wins,

i have changed the port number to 587, and it's still the same,
"Sent test mail to: xxxxxx@yahoo[dot]com failed"

:(

in the admin tool, i clicked on configure,

here are some of my configurations:

Website address: localhost
Domain name of your server (for email): gmail[dot]com
Person in charge of this system: xxxx(at)gmail[dot]com


many thanks!
Jeric
jeric.goya
phpList newbie
 
Posts: 3
Joined: 5:24pm, Mon 03 Dec, 2007

Postby WinstonN » 2:54pm, Tue 04 Dec, 2007

Halo,

Have you tried sending an email through gmail with an email client like thunderbird. I would set up the account in thunderbird or outlook, test it, make sure I can send mail through this smtp server and then migrate the settings to phplist.

Wins
Winston Nolan
http://www.buyxonline.com
eCommerce and Email Marketing
WinstonN
PL Master
 
Posts: 158
Joined: 3:31pm, Sun 04 Feb, 2007
Location: Cape Town, South Africa

PreviousNext

Return to Answers, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 3 guests

cron