Page 1 of 1

Want to send email through gmail smtp

PostPosted: 6:49am, Tue 19 Aug, 2014
by rightclicklebanon
Hello,
I want to send my emails through gmail smtp, what settings should I use, I am getting email send failed 54

Re: Want to send email through gmail smtp

PostPosted: 9:59am, Tue 19 Aug, 2014
by rightclicklebanon
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;

Re: Want to send email through gmail smtp

PostPosted: 7:51am, Wed 20 Aug, 2014
by rightclicklebanon
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

Re: Want to send email through gmail smtp

PostPosted: 12:31pm, Wed 20 Aug, 2014
by rightclicklebanon
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

Re: Want to send email through gmail smtp

PostPosted: 8:44am, Thu 21 Aug, 2014
by julienl
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)

Re: Want to send email through gmail smtp

PostPosted: 6:42am, Tue 26 Aug, 2014
by rightclicklebanon
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