Test Mail failed

Test mail failed to send
Sent test mail to: fosterbrown@gmail.com failed
I need a list of possible solutions

Do I need to install anything else to send the mail …other than phplist? working on a ampps server at home

How long do newbies usually last before they give up?
getting close to
ok i have phplist installed on a home server under ampps which is connected to by a noip conduit
the address joebloggs.noip.me/phplist
so the mail has to getout some how do i need anything else to get it out?

This DID NOT solve my problem
I was struggling with the “Sent test mail to: … failed” message and,
upon resolving, was surprised it didn’t make it to the wiki.

A new install operates in Test Mode, which is controlled by a bit in config.php:189-191:

Code: Select all# if test is true (not 0) it will not actually send ANY messages,

but display what it would have sent

define (“TEST”,1);

change the 1 to a 0, and you’re on your way!

changeing the
define(“phpmailerhost” to localhost
didnt solve the problem

starting to get frustrated hence the comment
No wonder this software is free!

I think the problem could lie in here
suggestions of what to change when using this on a home server 127.0.0.1 or localhost thingy

you can specify the location of the phpMailer class here

if not set, the version included in the distribution will be used

eg for Debian based systems, it may be something like the example below

when you do this, you may need to run some tests, to see if the phpMailer version

you have works ok

#define (‘PHPMAILER_PATH’,’/usr/share/php/libphp-phpmailer/class.phpmailer.php’);

To use a SMTP server please give your server hostname here, leave it blank to use the standard

PHP mail() command.

define(“PHPMAILERHOST”,’’);

in the above you can specify multiple SMTP servers like this:

‘server1:port1;server2:port2;server3:port3’ eg

#define(‘PHPMAILERHOST’,‘smtp1.mydomain.com:25;smtp2.mydomain.com:2500;smtp3.phplist.com:5123’);

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’;

you can set this to send out via a different SMTP port

define(‘PHPMAILERPORT’,25);

test vs blast

you can send test messages via a different SMTP host than the actual campaign queue

if not set, these default to the above PHPMAILERHOST and PHPMAILERPORT

define(‘PHPMAILERTESTHOST’,‘testsmtp.mydomain.com’);

define(‘PHPMAILERBLASTHOST’,‘livesmtp.mydomain.com’);

define(‘PHPMAILERBLASTPORT’,25);

to use SSL/TLS when sending set this value

it can either be “ssl” or “tls”, nothing else

define(“PHPMAILER_SECURE”,‘ssl’);

Smtp Timeout

If you use SMTP for sending, you can set the timeout of the SMTP connection

defaults to 5 seconds

define(‘SMTP_TIMEOUT’,5);

ugh that look s horible no idea how to do it to look nicew sorry

I came across this information

Got it to work with PHPList 3.0.5

Here comes the config/config.php excerpt:

define(“PHPMAILER”,1);
define(“PHPMAILERHOST”,‘smtp.gmail.com’);
define(“PHPMAILERPORT”,‘465’);
$phpmailer_smtpsecure = ‘ssl’;
$phpmailer_smtpuser = ‘user@gmail.com’;
$phpmailer_smtppassword = ‘pass’;
$phpmailer_smtpport = ‘465’;

Unfortunetely, I had also to edit the admin/class.phplistmailer.php:

I had to add $this->SMTPSecure = $GLOBALS[‘phpmailer_smtpsecure’]; above each ocurrence of $this->SMTPAuth = true;Comment each ocurrence the $this->Helo = getConfig(“website”);

I haven’t replaced the PHPMailer 5.2.5 that comes with PHPList 3.0.5

I dont really follow that second part

Hi

Did you solve this? The message was uncategrised and it seems no one saw it. I change the category to support

A
x