Why can't I send any message?

Start here! No need to ask twice :)

Why can't I send any message?

Postby H2B2 » 3:16pm, Sat 24 Oct, 2009

I just installed phpList, but sending my first messages fails. Why can't I send any message?
  • Please check if phpList is still running in Test mode. In config.php check your value for this constant (0 is off, 1 is on): define ("TEST",0); . See also Preflight Checklist.
  • When sending a 'test message' you should also check that your email address is included in the user list. If not, you will get this error message: "Email address not found to send test message".
  • It is recommended not to include links to Javascript files when sending an HTML email, since the receiving servers may quarantine or block it.
  • If you are trying to send a message to a subscribers list, make sure you process the message queue. Otherwise your message will just be waiting in the queue.
  • If the above does not apply, it is likely something is wrong with your mail server settings. If you are using the PHP mail() function (which is the default setting in config.php), your host may have limited it's use. In that case you should contact your host to fix this. Alternatively, you could switch to using your SMTP server instead. To do so, edit the PHPMAILERHOST setting in your config.php file and enter your SMTP server name, e.g. define("PHPMAILERHOST",'mail.yourdomain.com'); You will also need to enter your SMTP server's username and password by editing and uncommenting (i.e. by removing the # at the start of the line) the phpmailer_smtpuser and phpmailer_smtppassword settings in config.php. Usually the SMTP settings you would use in your email client should work here too. Note: If you use SMTP, make sure you apply this bug fixwhich is valid for phplist releases up to 2.10.5.

ref: http://docs.phplist.com/PhplistFAQ
H2B2
Moderator
 
Posts: 7188
Joined: 1:51am, Wed 15 Mar, 2006

Re: Why can't I send any message?

Postby Heritage » 12:46pm, Wed 28 Oct, 2009

You also should make sure the email address your sending to is selected to accept the mail format you are sending.

IE if your sending an HTML message to an email in your list and the user is marked to receive TXT. Well your possibly not going to get the message even if things are set up correctly.

Also make sure the user has an unique ID. Very rare, but it can happen for those doing direct imports or SQL magic.

/lists/admin/?page=reconcileusers

. . . is a good place to start to make sure your user data is good and/or set up properly.

(fix emails for users who have an invalid email)

(mark all users to receive html or mark all users to receive text)

Sometimes it is the simplest thing that makes one chase their tail.
Heritage
Moderator
 
Posts: 223
Joined: 3:25pm, Fri 23 Jun, 2006
Location: 800 720-7301

Re: Why can't I send any message?

Postby GeeketteGurl » 1:37pm, Tue 18 May, 2010

I am using 2.10.12 and these changes apparently don't apply, but I am still having trouble sending via smtp despite having the the username and password correct. My host suggested that I change the port to 587 but I can't find where to do that.
GeeketteGurl
PL Nut
 
Posts: 39
Joined: 5:41pm, Wed 20 May, 2009

Re: Why can't I send any message?

Postby Heritage » 5:21pm, Tue 18 May, 2010

I have not upgraded to the version you are on yet, but on older versions it is Line 167:

lists/admin/phpmailer/class.phpmailer.php

Code: Select all
    /**
     *  Sets the default SMTP server port.
     *  @var int
     */
    var $Port        = 587;
Heritage
Moderator
 
Posts: 223
Joined: 3:25pm, Fri 23 Jun, 2006
Location: 800 720-7301

Re: Why can't I send any message?

Postby GeeketteGurl » 5:40pm, Tue 18 May, 2010

Thank you - I finally found that and had changed it - but it didn't fix the problem. My hosts can't seem to agree on who is the problem, so I just changed hosting to avoid the issue entirely.
GeeketteGurl
PL Nut
 
Posts: 39
Joined: 5:41pm, Wed 20 May, 2009

Re: Why can't I send any message?

Postby Janet12 » 8:16am, Wed 02 Jun, 2010

I'm kind of experiencing the same problem.

Any help would be much appreciated.
Janet12
phpList newbie
 
Posts: 0
Joined: 8:09am, Wed 02 Jun, 2010

Re: Why can't I send any message?

Postby Heritage » 12:37pm, Wed 02 Jun, 2010

Check with your hosts SMTP policy. Should be within your mail management or within their help on how to set up outlook/pop and such. Some hosts use port 26 now. Or for SSL you need to use port 465. Pretty standard stuff.
Heritage
Moderator
 
Posts: 223
Joined: 3:25pm, Fri 23 Jun, 2006
Location: 800 720-7301

Re: Why can't I send any message?

Postby accman » 10:14am, Thu 29 Jul, 2010

Hi, I have installed phplist 2.10.12.
But I cannot send any email. I don't know what are the settings? for email server etc.

I changed the TEST to 0 in config.php.
but still not success.

when I try test mail. it say sending test mail to: ..... failed.

I have added my email adderss to test list. then added it to que and then processed it. but not worked.

So any help? please.

Thanks
Ayub
accman
phpList newbie
 
Posts: 1
Joined: 5:27pm, Mon 26 Jul, 2010

Re: Why can't I send any message?

Postby Dragonrider » 10:59am, Thu 29 Jul, 2010

Have you set up the POP3/SMTP values in config/config.php ??
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Re: Why can't I send any message?

Postby accman » 11:21am, Thu 29 Jul, 2010

No, I did not change pop or smtp settings, what should I write there?

thanks for reply.
accman
phpList newbie
 
Posts: 1
Joined: 5:27pm, Mon 26 Jul, 2010

Re: Why can't I send any message?

Postby Dragonrider » 12:25pm, Thu 29 Jul, 2010

accman wrote:No, I did not change pop or smtp settings, what should I write there?

thanks for reply.

Depends on how you access your email. Check out your email program settings and use that in the email section of the config file, always assuming you can't use phpMail
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Re: Why can't I send any message?

Postby accman » 1:16pm, Thu 29 Jul, 2010

what if I use phpMail? what I have to do?

Please suggest.

I am complete new to this.
accman
phpList newbie
 
Posts: 1
Joined: 5:27pm, Mon 26 Jul, 2010

Re: Why can't I send any message?

Postby Dragonrider » 3:15pm, Thu 29 Jul, 2010

From the Documents link at the top of the forum pages.

# 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",'');

# 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';
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Re: Why can't I send any message?

Postby ariasand » 5:22pm, Tue 29 Mar, 2011

I d recomend to check this list and try if it works after each step:

1. Check if you can use mail() or you have to go SMTP.

2. If it is SMTP, check inside phpmailer\class.phpmailer.php that

var $Port = ???;

is the good one for your host

3.Set up the bounces handling. Sometimes if you don't have this setted your host wont send.

4. Check if you have a restriction to send emails/hour. if so go to:
http://docs.phplist.com/PhpListConfigSendRate
ariasand
phpList newbie
 
Posts: 2
Joined: 5:06pm, Tue 29 Mar, 2011

Re: Why can't I send any message?

Postby brunn » 8:13pm, Thu 31 Mar, 2011

Thanks ariasand!

I was trying to figure out why I couldn't send any email. I tried setting up the bounces handling like you suggested and it worked perfectly, after two days of desperately trying anything else.

Thanks again :)
brunn
phpList newbie
 
Posts: 2
Joined: 4:12pm, Wed 30 Mar, 2011

Next

Return to Frequently Asked Questions

Who is online

Users browsing this forum: No registered users and 2 guests