Jump to content

Supposed to send ONE message. It's sending 80+ messages?


doni49

Recommended Posts

I tried to update the original screen shot but couldn't find way to upload a new image when modifying an existing message.  So here's a new screen capture (from outlook express because I don't have access to TBird).

 

[attachment deleted by admin]

This is getting even STRANGER.  The bold portions below are just the filenames of the code that follows.

 

Loading p.php in my browser using this code produces 1 email message and the date is displayed once in my browser:


p.php

<?php
include "/home/username/popmail.php";
?>


/home/username/popmail.php

<?php
    $d = "EMH2 - ";
    $d .= date("n/j/Y - g:i:s a");
    $headers = "FROM:  [email protected]\r\n";
    mail("[email protected]", $d, $d, $headers);
    print "Date:  " .$d . "\n";
?>


But if I load this p.php in my browser using THIS code, I get 80 something messages and the date is STILL displayed once in my browser:

p.php

<?php
include "/home/username/EmailHandlers/popmail.php";
?>


/home/username/EmailHandlers/popmail.php

<?php
    $d = "EMH2 - ";
    $d .= date("n/j/Y - g:i:s a");
    $headers = "FROM:  [email protected]\r\n";
    mail("[email protected]", $d, $d, $headers);
    print "Date:  " .$d . "\n";
?>

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.