ColdFusion mail queue stops processing

后端 未结 7 1897
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-31 07:44

Our CF server occasionally stops processing mail. This is problematic, as many of our clients depend on it.

We found suggestions online that mention zero-byte fil

7条回答
  •  有刺的猬
    2020-12-31 08:28

    There is a bug in Ben Doom's code. Thank you anyway ben, the code is great, and we use it now on one of our servers with CF8 installed, but: if directory (\spool) is empty, the code fails (error: Date value passed to date function DateDiff is unspecified or invalid.) That's because if the query object spool is empty (spool.recordcount EQ 0), the datediff function produces an error.

    we used this now:

    
    
    
    
        security restriction, access denied.
        
     
    
    
    
    
    
        
            
        
    
    
        
            
            
        
        
        1/2 action: ...try to restart. Send another mail if succeeded!
        #now()#
    
        Mails:
        #liste#
        
    
        
        
        
        
    
        
        
        2/2 action: ...succeeded!
        #now()#
        
    
    
    

提交回复
热议问题