mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 23:57:33 -05:00 
			
		
		
		
	Temporarily disable attachments from gmail emails
This commit is contained in:
		
							parent
							
								
									dcf3d40709
								
							
						
					
					
						commit
						c9d58d7af7
					
				@ -60,11 +60,13 @@ class GmailTransport extends Transport
 | 
			
		||||
        $this->gmail->cc($message->getCc());
 | 
			
		||||
        $this->gmail->bcc($message->getBcc());
 | 
			
		||||
 | 
			
		||||
        nlog(print_r($message->getChildren(), 1));
 | 
			
		||||
        nlog($message->getChildren());
 | 
			
		||||
 | 
			
		||||
        foreach ($message->getChildren() as $child) {
 | 
			
		||||
            $this->gmail->attach($child);
 | 
			
		||||
        } //todo this should 'just work'
 | 
			
		||||
        // foreach ($message->getChildren() as $child) {
 | 
			
		||||
        //     nlog("trying to attach");
 | 
			
		||||
        //     nlog($child);
 | 
			
		||||
        //     $this->gmail->attach($child);
 | 
			
		||||
        // } //todo this should 'just work'
 | 
			
		||||
 | 
			
		||||
        $this->gmail->send();
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user