test code
This commit is contained in:
		@@ -22,9 +22,9 @@ class Mail {
 | 
			
		||||
 | 
			
		||||
        if (gettype($this->message) == 'string') {
 | 
			
		||||
            if(mail($this->to, $this->subject, $this->message, $this->headers)) {
 | 
			
		||||
                return 0;
 | 
			
		||||
                return true;
 | 
			
		||||
            } else {
 | 
			
		||||
                return 1;
 | 
			
		||||
                return false;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user