Results 1 to 5 of 5

Thread: what are PHP mail limitations

  1. #1
    Join Date
    Jul 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default what are PHP mail limitations

    I have the idea that sending bulk mail in batches is the thing to do. Script timing out [max_input_time ?], spam, and such. About 500 on the mail list. I currently send in lots of 100.

    Are batches a good idea?
    Not necessary?
    Other thoughts?

    Attachments:
    I have got my script sending an attachment - in a single batch loop.
    But, from the PHP manual

    >> file will be deleted from the temporary directory at the end of the request...

    I presume this means the end of the first batch.
    So, I hesitate to charge off exploring alternatives without your guidance.

    My first thought is to literally upload the file to my server and unlink on completion of the last batch .

    Set me on the path of righteousness my friends !


    thanks - arfa

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    This isn't directly related, but I read in the notes about the mail() function on php.net that there's another function/set of functions better used for mass emailing. I think. IMAP or something. Though, I just glanced at it, and didn't need to try it myself.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

  4. #4
    Join Date
    Jul 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks codex - I will read those zend notes later but first glance

    yes, djr - imap and pop can be done (my reading is very limited) but mail() seems to be direct enough for the relatively small volume I am likely to be handling. I am just not sure of the boundaries.

  5. #5
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Right. mail() works fine. I'm just noting that you were asking about boundaries and that I read something suggesting that there were less-bounded options
    But if mail() works, I'd just stick with that. It's easy.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •