Terminal mail delivery delay in Mac OS X
        Posted  
        
            by cmaughan
        on Super User
        
        See other posts from Super User
        
            or by cmaughan
        
        
        
        Published on 2010-04-05T09:03:12Z
        Indexed on 
            2010/04/19
            13:03 UTC
        
        
        Read the original article
        Hit count: 304
        
I'm using mail from the Mac OS X terminal to send the results of a database query to me via email. Most of the time it works, but sometimes there is a long delay before the mail arrives (often when another similar script is run). It looks like there is some kind of send queue, but I can't find any documentation mentioning this. Is there something I need to do to flush mail from the terminal?
UPDATE: Sometimes delivery doesn't even seem to happen, though I get no errors at the console. Very weird.
© Super User or respective owner