Want to send email through gmail smtp

Once you've installed phpList Version 2... ask questions here!
Forum rules
Please help the volunteers to help you by supplying the version of phpList you are using, browser & version and if possible, a link to your phpList installation. This is for Version 2 of phpList (the orange one).

Want to send email through gmail smtp

Postby rightclicklebanon » 6:49am, Tue 19 Aug, 2014

Hello,
I want to send my emails through gmail smtp, what settings should I use, I am getting email send failed 54
rightclicklebanon
PL Nut
 
Posts: 20
Joined: 9:27am, Thu 14 Aug, 2014

Re: Want to send email through gmail smtp

Postby rightclicklebanon » 9:59am, Tue 19 Aug, 2014

I am trying every setting and configurations explained on forums, I get mail sent but nothing reaches

config.php

define("PHPMAILER",1);

define("PHPMAILERHOST",'smtp.gmail.com');
I have set back and forth settings with no use
$message_envelope = 'righterclicker@gmail.com';

# Handling bounces. Check README.bounces for more info
# This can be 'pop' or 'mbox'
$bounce_protocol = 'pop';

# set this to 0, if you set up a cron to download bounces regularly by using the
# commandline option. If this is 0, users cannot run the page from the web
# frontend. Read README.commandline to find out how to set it up on the
# commandline
define ("MANUALLY_PROCESS_BOUNCES",1);

# when the protocol is pop, specify these three
//$bounce_mailbox_port = "pop.gmail.com";
$bounce_mailbox_port = "995/pop3/ssl";

#$bounce_mailbox_port = "pop.gmail.com";

//$bounce_mailbox_host = 'smtp.gmail.com';

$bounce_mailbox_host = 'pop.gmail.com';
$bounce_mailbox_user = 'domain@gmail.com';
$bounce_mailbox_password = 'password';
/*peter*/
$phpmailer_smtpsecure = 'ssl';
$phpmailer_smtpuser='domain@gmail.com';
$phpmailer_smtppassword='password';
$phpmailer_smtpport=465;
rightclicklebanon
PL Nut
 
Posts: 20
Joined: 9:27am, Thu 14 Aug, 2014

Re: Want to send email through gmail smtp

Postby rightclicklebanon » 7:51am, Wed 20 Aug, 2014

Hello, I have been contacting the forum since 2 days with no reply
I have installed the latest version 3.06

I have tried and followed every step explained in dozens of forums, tried every combination, but it will not send an email

Is ssl required for my website

I have tried every forum and every step, posted here on this forum, found solutions on this website forum and other forums, but no email is sent

many Thanks
rightclicklebanon
PL Nut
 
Posts: 20
Joined: 9:27am, Thu 14 Aug, 2014

Re: Want to send email through gmail smtp

Postby rightclicklebanon » 12:31pm, Wed 20 Aug, 2014

hello, I have tried all and numerous approaches, nothing works
I am using version phplist-3.0.6

config/config.php

define("PHPMAILERHOST",'ssl://smtp DOT gmail DOT com');
$phpmailer_smtpuser = 'mai AT gmail.com';
$phpmailer_smtppassword = 'mypassword';

define("PHPMAILER",1);
define('PHPMAILERTESTHOST','smtp DOT gmail DOT com');
define('PHPMAILERBLASTHOST','smtp DOT gmail DOT com');
define('PHPMAILERBLASTPORT',465);

# to use SSL/TLS when sending set this value
# it can either be "ssl" or "tls", nothing else
define("PHPMAILER_SECURE",'ssl');

$phpmailer_smtpsecure = 'ssl'; //ssl or tls or blank
$phpmailer_smtpport = 465;

class.phplistmailer.php

Three occurences
/* ## $this->Helo = getConfig("website"); */
$this->Helo = getConfig("PHPMAILERHOST");
$this->Host = PHPMAILERBLASTHOST;
$this->Port = PHPMAILERBLASTPORT;


admin/PHPMailer-5.2.5/class.smtp.php


// connect to the smtp server
$this->smtp_conn = @fsockopen($host='ssl://smtp.gmail.com',
$port, // the port to use
$errno, // error number if any
$errstr, // error message if any
$tval); // give up after ? secs
// verify we connected properly

For three days this and others ettigns back and forth with no use

What Am I missing here
Many Thanks
rightclicklebanon
PL Nut
 
Posts: 20
Joined: 9:27am, Thu 14 Aug, 2014

Re: Want to send email through gmail smtp

Postby julienl » 8:44am, Thu 21 Aug, 2014

Can you put the all config.php file ? (use the "code" button)

Are you sure to have set this :
Code: Select all
define ("TEST",0);

(if 1 no email are sent)
julienl
PL Geek
 
Posts: 58
Joined: 8:20am, Wed 22 Jul, 2009
Location: France

Re: Want to send email through gmail smtp

Postby rightclicklebanon » 6:42am, Tue 26 Aug, 2014

I gave up long ago on this and installed it through softacalous cpanel, yes i had the test correct, I would appreciate feedback on my next question :D
rightclicklebanon
PL Nut
 
Posts: 20
Joined: 9:27am, Thu 14 Aug, 2014


Return to Question & Problems - after installing

Who is online

Users browsing this forum: No registered users and 6 guests