SMTP AUTH Server Config Issues

Version 3 Solutions you have discovered or come across should go here. Questions should go in the other three Version 3 forums, thank you.
Forum rules
Please do not ask questions here, this is for Version 3 Solutions you have discovered or come across.

SMTP AUTH Server Config Issues

Postby linux4life » 7:53pm, Wed 29 Jan, 2014


I ran into the problem that PHPList was not respecting my username and password for my SMTP server.

I happen to be using sendgrid.

After struggling with the issue and reading numerous posts about changing blocks of code in class files, I was easily able to correct the problem using the following steps :

1. I gave up on editing config_extended.php
2. In config.php I pasted the following lines (taken from config_extended.php) directly below

Code: Select all
$phpmailer_smtpuser = 'myUserName'; // My Username
$phpmailer_smtppassword = 'myPassWord'; // My Password
define('PHPMAILERPORT',587); // My default port (usually 25)

I pasted that into the first section, right after it defines PHPMAILERHOST

Easy fix.

Works like a charm.
phpList newbie
Posts: 1
Joined: 7:46pm, Wed 29 Jan, 2014

Re: SMTP AUTH Server Config Issues

Postby Dragonrider » 9:39pm, Wed 29 Jan, 2014

Or you could have simply renamed config_extended.php to config.php as advise in the FAQ's, or as stated at the top of the config.php file:
Code: Select all
* The minimum requirements to get phpList working are in this file.
* If you are interested in tweaking more options, check out the config_extended.php file

Though to be honest, it doesn't actually say that you have to rename config_extended.php to config.php which does seem to have been a bit of an oversight considering how many times the question is raised.
My sites:-,,,
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Return to Answers, HowTos, Tips and Tricks

Who is online

Users browsing this forum: No registered users and 3 guests