Author Topic: Cant get LM to mail out.  (Read 1351 times)

cashcrop

  • Posts: 3
    • View Profile
Cant get LM to mail out.
« on: October 11, 2005, 09:30:18 am »
I just recently installed LM and have been testing the mailings all along the set up process.

Set up my list settings, customized my welcome email, and added 6 follow up letters and tested each one as I went. By sending out previews and by going through the sign up form I've put on my site. Everything worked just fine.

Did one last test run before making the sign up form public...I register through the sign up form ok and my data shows up under the user data. But no emails..no welcome email and no follows.

Now I can't even get LM to send out a preview to me of any welcome or follow up mails.

And the "Test Mail Settings" is still successful.

Perry

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Cant get LM to mail out.
« Reply #1 on: October 11, 2005, 10:20:08 am »
Hi Perry,

The PHP mail() function (not SMTP) is used for confirmation, welcome, and notification messages.  I suspect this is where the problem lies.  I do not know why it would work and then stop working - maybe your host's mail queue is full of messages and it will be delivered after some time.  If it never comes through I highly recommend talking to your host about the reliability of the PHP mail() function.

Here's a test script you can copy to a .php file and upload/browse to on your site.  Please set up the $domain and toaddr variables to your ListMail domain and destination test address.

Code: [Select]
<?php// config$domain = "domain.com";$toaddr = "test@listmailpro.com";// end config$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>";?>

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

cashcrop

  • Posts: 3
    • View Profile
Not sure on code editing..?
« Reply #2 on: October 11, 2005, 01:12:54 pm »
Hey Dean I'm not sure if I followed your instructions properly on the set up of the php file.is this correct or is there more?

<?php
// config
$domain = "http://www.mydomain.com/mail";
$toaddr = "test@mydomain.com";
// end config

$fromaddr = "mytest@$domain";
$returnpath = "bounceme@$domain";

Do I need to change the $fromaddr or the $returnpath?

And I set up an email account as "test@mydomain.com" not sure if I needed to do that or not?

Guess I need a little havnd holding here..thanks in advance

Perry

cashcrop

  • Posts: 3
    • View Profile
Problem solved ...on server side.
« Reply #3 on: October 11, 2005, 02:37:13 pm »
Problem solved ...on server side.

Thanks for the help!

Perry