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]

Link to comment
Share on other sites

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:  myemail@mydomain.com\r\n";
    mail("myemail@mydomain.com", $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:  myemail@mydomain.com\r\n";
    mail("myemail@mydomain.com", $d, $d, $headers);
    print "Date:  " .$d . "\n";
?>

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.