mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 13:47:32 -04:00 
			
		
		
		
	Accept view() instead of markdown() in NinjaMailer
This commit is contained in:
		
							parent
							
								
									a7a4bcc19d
								
							
						
					
					
						commit
						ee4be6d84a
					
				| @ -37,7 +37,7 @@ class NinjaMailer extends Mailable | |||||||
| 
 | 
 | ||||||
|         return $this->from(config('mail.from.address'), config('mail.from.name')) |         return $this->from(config('mail.from.address'), config('mail.from.name')) | ||||||
|                     ->subject($this->mail_obj->subject) |                     ->subject($this->mail_obj->subject) | ||||||
|                     ->markdown($this->mail_obj->markdown, $this->mail_obj->data) |                     ->view($this->mail_obj->markdown, $this->mail_obj->data) | ||||||
|                     ->withSwiftMessage(function ($message) { |                     ->withSwiftMessage(function ($message) { | ||||||
|                         $message->getHeaders()->addTextHeader('Tag', $this->mail_obj->tag); |                         $message->getHeaders()->addTextHeader('Tag', $this->mail_obj->tag); | ||||||
|                     }); |                     }); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user