Author Topic: Receiving Triple Messages  (Read 1449 times)

Decka

  • Posts: 20
    • View Profile
Receiving Triple Messages
« on: June 15, 2005, 06:11:25 am »
I have just started using List Mail V1.8 having used earlier versions.
I now find I am getting triple message responses from List Mail, both for Sign up notifications and the welcome message sent to the new sign up.

This problem was reported in an earlier post some time ago. It was suggested that the problem might be due to the user refreshing the thankyou page which would cause list mail to send multiple messages.

As I am the test sign up, I can confirm that my problem is not caused by refreshing the thankyou page.

Any ideas how to stop this from happening as it will be a bit embarassing to be sending new signups 3 duplicate messages, particularly as I am trying to promote List Mail on my site.

Decka

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Receiving Triple Messages
« Reply #1 on: June 17, 2005, 03:16:37 am »
Hearing about duplicate messages is quite rare.  ListMail most certainly does not issue calls to send multiple emails during signup, unless you are subscribing to multiple lists.  In the last case I remember the problem resolved itself.  Perhaps there is something wrong at the host.

Copy the following code into a new file, ie test.php, modify the lines in the 'config' section, upload it to your site and browse to it.

Code: [Select]
<?php// config$domain = "domain.com";$toaddr = "test@listmailpro.com";$fromaddr = "mytest@$domain";$returnpath = "bounceme@$domain";// codeecho date("l, F jS g:ia T");echo "<br>testing mail() function..<br>sending mail.. ";if(mail($toaddr,'mailtest','mailtest',"From: \"Mytest\" <$fromaddr>\nReturn-path: <$returnpath>")) echo "mail seems to be sent ok<br>"; else "mail NOT sent ok!?<br>";?>

The script should not send multiple emails.

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

Decka

  • Posts: 20
    • View Profile
Dean: Reply on Triple Message Test Script
« Reply #2 on: June 17, 2005, 04:38:09 am »
Dean Hi,

I ran your test script on the domain on which I have List Mail V1.8 installed and I got one response email. I tried it again but sending to a mail address not on this domain and again got 1 response.

So what's your diagnosis ?

regards

Decka

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Receiving Triple Messages
« Reply #3 on: June 21, 2005, 05:15:34 am »
Decka,

I can't think of anything that would cause this.. ListMail should not be calling the mail() function more than once.

Do you want to submit your server info so I can do some testing of my own?

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting