Web server php email is slow/delayed

We have some php code that sends email from various web sites.
If I submit one form that sends an email, it'll be delayed for hours or a day. If I submit two forms that send emails, I’ll get the first one, and eventually after a long wait the second one. But if I go and submit a form a third time, that email seems to help push the second one through, but then I don’t get the third email for awhile.
What could be causing this?
Server is 10.5.6
Thanks!

Also look at the mail headers of the received mail. It will give precise timestamps of the message along its path to the recipient. Cross-reference that with when the message was sent and you might spot a problem.
Also look for patterns in the delays - are they consistent? Does it always take a second message to 'push' the previous one out? That could indicate that the server is holding onto the message waiting for some kind of signal that doesn't arrive until the next message comes in. The logs should help clarify this.

Similar Messages

  • Web Server and Email Server

    Suppose my web site www.MySite.com is hosted in a Web Server (IP: 123.45.6.7). My email account is: [email protected], which is hosted by an Email Sever (IP:10.12.14.6). Obviously they are two separate machines.
    How can my email has the same DOMAIN (name) MySite.com as my web site has?
    Thanks to help.
    Scott

    http://en.wikipedia.org/wiki/DNS

  • Email PDF form on Web server

    I have created a PDF form which resides on a Web server. Users follow a Webpage link and fill out the form on their desktop, where there is no email client installed. I noticed in the Script Editor that I can choose "Run at Server." Does this mean that when the user clicks Submit, this code will run on the server and email the form from there?
    this.resolveNode("#event").submit.target = "mailto:" + strToAddress + "?subject= " + "LOA request for " + strSuffix + " DSM " + strMgrFirstName + " " + strMgrLastName + " Store# " + strStoreNum + " Region# " + strRegionNum;
    Is that what "Run at Server" means? I looked in the LC Help and found no references to "Run at Server."

    If "Run at Server" isn't the simple solution to my problem (there is no client email application), then could I copy the javascript code on the Submit button and paste it into a.js file on the server and then in the Object properties of the button point to that .js file?
    form1.page3.emailSubform.emailToBtn::preSubmit:form - (JavaScript, server)
    app.execMenuItem("SaveAs");
    //either way below works
    //event.target.submitForm({cURL:"mailto:"+ strToAddress + "?cc=" + strCCAddress + "&subject=" + strSubject + "&body=" + strMessage,cSubmitAs:"PDF",cCharset:"utf-8"});
    if (txtCCAddress.rawValue == null) {
    var strToAddress, strSubject, strMessage, strSuffix, strMgrFirstName, strMgrLastName, strStoreNum, strRegionNum
    strToAddress = txtToAddress.rawValue;
    strSuffix = form1.Page1.DropDownList1.rawValue;
    strMgrFirstName = form1.page3.MgrFirstName.rawValue;
    strMgrLastName = form1.page3.MgrLastName.rawValue;
    strStoreNum = form1.Page1.storeNumber.rawValue;
    strRegionNum = form1.page3.distRegion.rawValue;
    //something like this would go in the URL in Object properties for the button
    //formmail.php?emailTo=strToAddress&type=strSuffix&mgrFirst=strMgrFirstName&mgrLast=strMgr LastName&storeNum=strStoreNum&region=strRegionNum
    this.resolveNode("#event").submit.target = "mailto:" + strToAddress + "?subject= " + "LOA request for " + strSuffix + " DSM " + strMgrFirstName + " " + strMgrLastName + " Store# " + strStoreNum + " Region# " + strRegionNum;
        else
        var strToAddress, strCCAddress, strSubject, strMessage, strSuffix, strMgrFirstName, strMgrLastName, strStoreNum, strRegionNum
    strToAddress = txtToAddress.rawValue;
    strCCAddress = txtCCAddress.rawValue;
    strSuffix = form1.Page1.DropDownList1.rawValue;
    strMgrFirstName = form1.page3.MgrFirstName.rawValue;
    strMgrLastName = form1.page3.MgrLastName.rawValue;
    strStoreNum = form1.Page1.storeNumber.rawValue;
    strRegionNum = form1.page3.distRegion.rawValue;
        this.resolveNode("#event").submit.target = "mailto:"+ strToAddress + "?cc=" + strCCAddress + "&subject=" + "LOA request for "  + strSuffix + " DSM " + strMgrFirstName + " " + strMgrLastName + " Store# " + strStoreNum + " Region# " + strRegionNum;

  • Delete Emails from Web Server

    Hello,
    Is it possible to delete my emails from the BB web-server before they are "pushed" to my handheld? I have not used my phone in a while due to some travels and it is unnecessary for all my messages to get downloaded to my handheld.
    Thank you for your help,
    NL

    Which mail ID you're using?
    tanzim                                                                                  
    If your query is resolved then please click on “Accept as Solution”
    Click on the LIKE on the bottom right if the post deserves credit

  • Deleting downloaded email from iphone but not web server

    I recently purchased an iphone 3gs. My wife has had an iphone 3g for over a year. I am having a problem deleting email on my 3gs. Whenever my wife downloads mail to her phone, she can delete if off her phone but leave it on the web server for our internet provider. This way we can still download all of our mail into Oulook on our home computer. Whenever I download email to my 3gs and delete it from my phone it also deletes it from our web server and either puts iit in the web server trash or on my iphone trash folder, whichever I have it set to go. How do I set up my iphone 3gs so that after I download email to my iphone 3gs, I can delete it from the iphone 3gs and not delete the web server version?

    Does the email account provider for the account support accessing the account as a POP or IMAP account?
    If so, it sounds like your wife is accessing the account as a POP account with the iPhone's Mail application and you are accessing the account as an IMAP account.

  • Upload form problems on Mac web server with PHP

    First time using a mac web server and I'm having a heck of a time getting a simple upload form to work in this environment. The errors I'm receiving are:
    Warning: move_uploaded_file(/Library/WebServer/Documents/mydirectory/content/mwm/) [function.move-uploaded-file]: failed to open stream: Is a directory in /Library/WebServer/Documents/mydirectory/umin/uploadContent.php on line 66
    Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/private/var/tmp/php1pRrx5' to '/Library/WebServer/Documents/mydirectory/content/mwm/' in /Library/WebServer/Documents/mydirectory/umin/uploadContent.php on line 66
    Usually this problem is resolved by changing permissions on the directory receiving the upload. I've already done that, and set the permissions to 777, though the problem still persists.
    I'm basically defining my upload directory, and then moving the file thereafter:
    define('UPLOAD_DIR', '/Library/WebServer/Documents/mydirectory/content/'. $category . '/');
    move_uploaded_file($_FILES['uploadedFile']['tmp_name'], UPLOAD_DIR);
    The rest of the script, without the move execution, works properly. Any help would be appreciated.
    Message was edited by: LoopyChicken

    BAH!
    I had forgotten to add the name of the file to the move command:
    Fix here:
    move_uploaded_file($_FILES['uploadedFile']['tmp_name'], UPLOAD_DIR.$file);
    Thanks.

  • How do I save sent emails on my web server using Mail with IMAP?

    I have email through a web hosting company setup as IMAP through Apple Mail. In preferences, I have the box checked to save sent emails on the server, however, when I send emails they are stored in Sent Messages folder on my Mac and not on my web server. Also, when I send emails on my iPhone they are stored in the regular Sent folder for my email under Mailboxes.
    How can I get all my sent emails stored on my web server?

    In Mail, select the mailbox you want to use for sent emails, then go the 'Mailbox' menu and choose 'use this mailbox for' and click 'sent'.  The same goes for your iPhone.  In settings, go to the advanced settings of the outgoing email server.  There you can choose which mailbox you want to use for storing your drafts, sent items, ...

  • How to install Apache Web Server with PHP on Sun Solaris Sparc machine

    Hi,
    We are trying to install the Apache Web Server and the PHP package on a Sun Solaris Sparc machine running on SunOS 5.8. We are having compilation problems with the source code of both these packages.
    Does anybody know if there are ready solaris packages for Apache and PHP available from where we can download and install instead of source code compilation?
    Or any instructions / things to watch for when installing Apache with PHP (if anybody has tried installing Apache with PHP on Sun Solaris earlier) is most welcome.
    Thanks,
    Harish

    Apache should be bundled along with Solaris check in "/var/apache" in Solaris 8 and Solaris 9
    php is available at www.php.net
    I found an old document for installing PHP maybe this will help.
    Cheers
    -Dhruva
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++Installing PHP 3.x for Apache 1.x.x on Solaris
    Introduction
    This document describes how to install PHP for Apache on Solaris.
    You should have Apache installed before trying to install PHP.
    If you want to use PHP with MySQL then you must install MySQL first.
    Before we Begin
    1. These instructions assume that you have Apache installed according to instructions.
    Getting PHP
    1. You must be logged in as root to perform this installation.
    su root
    2. I save all my downloads in:
    /usr/local/dist
    If you don't already have one, you may need to create that directory now:
    mkdir /usr/local/dist
    3. You can get PHP 3.0.14 from here(www.php.net).
    cd /usr/local/dist
    ftp ftp.php.net
    cd pub/distributions
    bin
    get php-3.0.14.tar.gz
    bye
    Installing PHP
    1. We will install PHP in /usr/local/build, but use a tricky tar command
    to do it in on hit from the download directory:
    cd /usr/local/dist
    tar xvfz php-3.0.12.tar.gz -C ../build
    Compiling PHP
    1. First let's get where the action is:
    cd /usr/local/build/php-3.0.14
    2. You now have 3 options:
    * Simple PHP install without MySQL - goto step 3
    * Simple PHP install with MySQL - goto step 4
    * Custom PHP install - goto step 5
    3. Simple PHP install without MySQL. Next, jump to step 6.
    ./configure --with-apache=../apache_1.3.12
    4. Simple PHP install with MySQL. MySQL must be installed before you can configure PHP to use it. I recommend that MySQL should always be reachable with /usr/local/mysql. Even if you install it else where you
    should create a symbolic link from /usr/local/mysql. Otherwise the compiler can have problems finding the mysqlclient library. The command
    should look like this:
    ./configure with-mysql=/usr/local/mysql with-apache=../apache_1.3.12
    Next, jump to step 6.
    5. Custom PHP install. Take a look at the available configuration directives by using this command:
    ./configure --help
    6. Now we can make the PHP executable. This may take a while.
    make
    7. Now we install the PHP module with:
    make install
    Adding the PHP Module to Apache
    1. Now we have to setup Apache to include the PHP module:
    cd ../apache_1.3.12
    2. Re-configure Apache to use the PHP module. You should use your previous Apache configure command along with the PHP activate module directive.
    You can see your previous Apache configure command by doing:
    cat config.status
    You can configure Apache using the previous command with the added PHP module by doing:
    ./config.status --activate-module=src/modules/php3/libphp3.a
    If you used the simple Apache install from instructions the command will look like this:
    ./configure prefix=/usr/local/apache activate-module=src/modules/php3/libphp3.a
    3. Make and install Apache with PHP enabled:
    make
    4. We need to stop the server before installing the files:
    /usr/local/apache/bin/apachectl stop
    5. Now we can install the new binaries:
    make install
    6. Start apache again (now running the new php enabled version):
    /usr/local/apache/bin/apachectl start
    Setting Up PHP
    1. We have to tell Apache to pass certain file extensions to PHP. We do this in Apache's httpd.conf file.
    cd /usr/local/apache/conf
    2. Edit the httpd.conf file. If you do a search for php you will find a couple of commented out lines telling Apache to use the PHP module. You should uncomment them to look like this.
    AddType application/x-httpd-php3 .php3
    AddType application/x-httpd-php3-source .phps
    3. I prefer to use the extension .phtml, you can use whatever extension you like (even .html) by adding lines to httpd.conf like this:
    AddType application/x-httpd-php3 .phtml
    Check that it Works
    1. We have to restart Apache to make these changes take effect on the running server.
    cd /usr/local/apache/bin
    ./apachectl restart
    2. Apache should now be running with PHP enabled. The server version should include PHP/3.0b2.
    ./apachectl status
    Apache Server Status for dev.synop.com
    Server Version: Apache/1.3.9 (Unix) PHP/3.0.12
    Server Built: Oct 25 1999 00:37:07
    3. Now it is time to test PHP with a page. The simplest thing to do is create a page called test.php3. My file is here. This file contains the
    following text:
    <?php phpinfo(); ?>
    4. Point your browser at this file on the virtual host which you used:
    http://localhost/test.php3

  • Trying to get PHP (5.2.5) via Apache Web Server (2.2.13) to work.

    From binaries.
    1. I was able to get the command line execution of 01.php to work with php w/o
    Apache.
    2. I am able to get normal PHP to work in Apache and I'm able to load up some php
    extensions that come with PHP such as php_zip.dll
    which show up as loaded when I execute this php script via the Apache Web server:
    <?php
    phpinfo();
    ?>
    3. I've tried both the CGI method and the apache module method of linking apache to PHP, but
    still get the same following error in my Apache error logs.
    PHP Warning: PHP Startup: Unable to load dynamic library 'C:/Progra~1/Oracle/Berkeley DB XML 2.4.16/bin\\php_db4.dll' - The specified module could not be found.\r\n in Unknown on line 0
    PHP Warning: PHP Startup: Unable to load dynamic library 'C:/Progra~1/Oracle/Berkeley DB XML 2.4.16/bin\\php_dbxml.dll' - The specified module could not be found.\r\n in Unknown on line 0
    4. I've tried to move these two dlls to the /ext directory as well, but no joy.
    5. What confuses me is that it works on the command line, but not through Apache.
    Since they work on the command line, the dlls are proper dlls, correct?
    What could be causing them not to work from Apache?
    6. In my google searching on other php dlls, there are references that certain php dlls are dependent upon other dlls to be in the path. Does anyone know if there are any other dependecies for two dlls in question? And is it that php command line can find these dlls, but when apache starts up, it doesn't have access to these other dependent dlls?
    7. Anyone have any insight, suggestions into this? Behavior?

    I think 5.2.10 has mainly bug fixes in comparison to 5.2.5. If it works, I'd simply assume everything's fine.
    Be aware, though, that there is a general caveat with using DBXML in an Apache/PHP environment. You cannot maintain state at the application level as with a Java application server. On each request, you'll have to reopen the environment and the containers you want to access. So it's not as effiicient as on a more suitable platform. Also, if the need to run recovery arises, it is not clear how you would handle this in a multi-process environment with no built-in means for coordination of those processes.
    Michael Ludwig

  • Thunderbird stopped downloading emails from the web server and now when I try to add a new account I get a message to say it cannot find the email server.

    Thunderbird was working and then for no reason it stopped downloading emails from the web server. I can access my emails in the web server okay. I have tried to remove my account and then add it again as a new account but I get a message saying that Thunderbird cannot find the email server. I have also tried to uninstall and reinstall Thunderbird but with the same result. I have also tried to remove the default mail server but have been unable to do so. How can I fix this?

    I figured out a workaround.... Since I can get e-mails to populate via iSync and my other computer is running Leopard (it's a powerpc chip and can't run Snow Leopard), I added the account on the other computer and got the new account to populate into my SL machine with iSync. I don't like that I can't actually add the account directly, but at least this got me working.

  • Php with xsl on Sun Java Web Server 7.0

    Hi anyone,
    i installed php as nsapi via phppack. Now i need xsl support in php. I've tryed to compile php with the following line (php 5.2.6):
    ./configure with-nsapi=/export/netscape_71 enable-force-cgi-redirect with-gettext with-zlib --with-xsl=/usr/lib64/php5/extensions
    magnus.conf, obj.conf and mime.types are assimilate to this article:
    http://developers.sun.com/webtier/reference/techart/php2.html
    After compiling, i copy the libphp5.so in the .plugins/php/ dir an restart the webserver.
    He stops with this message:
    failure: CORE2253: Error running Init function load-modules: dlopen of /export/netscape_71/plugins/php/libphp5.so failed (/export/netscape_71/plugins/php/libphp5.so: wrong ELF class: ELFCLASS64)
    failure: server initialization failed
    What's going wrong?
    How i get xsl Support on Sun Java Web Server?
    thanks!

    essential wrote:
    ./configure with-nsapi=/export/netscape_71 enable-force-cgi-redirect with-gettext with-zlib --with-xsl=/usr/lib64/php5/extensionsYou are pointing to 64-bit library path. Change it to 32-bit library path.
    failure: CORE2253: Error running Init function load-modules: dlopen of /export/netscape_71/plugins/php/libphp5.so failed (/export/netscape_71/plugins/php/libphp5.so: wrong ELF class: ELFCLASS64)
    failure: server initialization failedThis means that it expects a 32-bit library but it found a 64-bit one.

  • Web server log not show byte transfer for php

    I added php module to iWS 6.0 it work fine but access log not show byte transfer information for php. How can I do?

    The iPlanet Web Server 6.0 access log does not report the number of bytes sent by plugins unless the plugin explicitly sets the Content-length: header. Sun ONE Web Server 6.1 is the first version of Web Server that always reports the number of bytes sent, even if the plugin neglects to set a Content-length: header.

  • 10.4 web server painfully slow

    We upgraded from Server 10.3 to 10.4.11 (Apache/1.3.33 (Darwin) PHP/4.4.7).
    We have a couple of wikis installed (DokuWiki running on PHP, file based - no backend).
    While 10.3 did a nice job serving them, 10.4 is painfully slow. What used to load in a few seconds now can take anywhere from 30 - 60 seconds to load.
    There appear to be now error.log or access.log entries indicating anythings wrong.
    Any idea what I can do to get the speed back?
    Thanks...martin

    Is serving of static pages slow as well? It looks like DNS issue, mainly if you use users authentication, There is an excellent tool to check apache serving speed named 'ab'
    http://httpd.apache.org/docs/1.3/programs/ab.html
    Don't use it from the same machine to get accurate results.

  • Is the  "PHP Email Server Behaviors Pack" extension legit?

    There are two comments for the extension PHP Email Server
    Behaviors Pack V1.1.1, both of which indicate that this is not a
    legit product.
    Has anyone purchased this extension and had success with it?
    david

    The responses on the Exchange indicate that the users there
    bought it and
    got no product. You will notice it didn't have company
    approval. I would
    stay away from it, if it were me. There is an email address
    listed on the
    product page for support .. you might try writing to them and
    asking some
    questions.
    Nancy
    "elvis is dead" <[email protected]> wrote in
    message
    news:fjs2f0$pqc$[email protected]..
    > There are two comments for the extension PHP Email
    Server Behaviors Pack
    > V1.1.1, both of which indicate that this is not a legit
    product.
    >
    > Has anyone purchased this extension and had success with
    it?
    >
    > david
    >

  • Server for Web hosting and email (only  for 3 domains)

    Hello guys,
    I want to setup mac mini server for my company which will host only 3 web sites and email server for the moment.
    What i got so far,
    01. I have Macmini server
    02. I have static ip address
    03. I have router (vigor 2700) which forward the external ip address (my ip start from 87.197.XXX.XXX) in to my Server using DMZ hosts
    (So i have 192.168.1.20 as my server ip address(local) and when i point 87.197.132.48  from out side (using web browser) i can see Mac server page)
    So can i setup the server using this infomation. Just want to make sure that i allready got everythign to setup the server.
    1st question : Do i have to all information to start this ?
    Please help me with this first, then i will have more  questions latter.
    Thanks in advance 

    Migrate out of 192.168.1.0/24 (and 192.168.0.0/24) as those will cause problems for your eventual use of VPNs to connect into your network.  Most every coffee shop and home network on the planet uses those, and the IP routing inherent in a VPN doesn't appreciate finding the same subnet on both ends of the VPN.  The earlier you get your network out of those particular subnets - and preferably over to a subnet somewhere within the 172.16.0.0/12 or 10.0.0.0/8 blocks - the easier the network migration will be.
    Set up your internal DNS services and your external DNS services (I'm assuming your local DNS server will not be delegated to serve DNS publicly) and particularly establish an A record in (at least) your public DNS referencing your mail server, and then enter that mail server A record entry as the MX mail exchange host for each of the three domains, and set up three virtual domains on the mail server. 
    If your gateway is sufficiently capable, you can have a separate domain or subdomain within your network, and have all your "public" names hosted externally.  You can then use example.com outside, and example.net inside, and any example.com references from the outside or from the inside will resolve to your external static IP address and (if your gateway has the ability to "reflect" traffic to the public static IP) it'll all work most easily.  If your gateway isn't capable, then you can also host the example.com domain internally in your local DNS server, but that means maintaining two parallel sets of DNS entries.  Or you can get a more capable gateway.  (I did not research your gateway.)
    You'll want to read the Apple mail service documentation around alias entries, as there are two ways to do this.  See the stuff around pages 73 and 77 in that document.  Better still, just skim that mail service administration manual; that'll get you an introduction to the whole area and some familiarity with the general terms and concepts, and that manual is fairly readable.
    Then read the TopicDesk Spam Documentation.
    If you don't have IT staff around (some of your time, as well as that of others) to dedicate to this mail server management (including user management, troubleshooting, backups, etc.) hosting mail externally can be a good trade-off.

Maybe you are looking for