Asynchronous mail()

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rui p.

    #1

    Asynchronous mail()

    Hi!

    I changed recently my hosting provider and noticed that PHP waits
    until an email is sent using mail()- a big problem if the email takes
    a lot of time to deliver.
    The solutions I've found aren't available to me since I don't have
    access to crons.
    Is there any way to prevent this behaviour? Or is there any PHP.INI
    setting that could change it?
    Thanks in advance!

    -- rui
  • Jerry Stuckle

    #2
    Re: Asynchronous mail()

    rui p. wrote:
    Hi!
    >
    I changed recently my hosting provider and noticed that PHP waits
    until an email is sent using mail()- a big problem if the email takes
    a lot of time to deliver.
    The solutions I've found aren't available to me since I don't have
    access to crons.
    Is there any way to prevent this behaviour? Or is there any PHP.INI
    setting that could change it?
    Thanks in advance!
    >
    -- rui
    This has nothing to do with PHP. It's all in whether your MTA queues
    the outgoing mail or sends it immediately.

    It's also possible that they're delaying the response to deter spammers,
    but this is less likely.

    --
    =============== ===
    Remove the "x" from my email address
    Jerry Stuckle
    JDS Computer Training Corp.
    jstucklex@attgl obal.net
    =============== ===

    Comment

    • rui p.

      #3
      Re: Asynchronous mail()

      I'm stuck, then :-|
      Many thanks, Michael and Jerry!

      -- rui

      Comment

      Working...