changing defualt 'from email' to no-reply@ungleich.ch
This commit is contained in:
		
					parent
					
						
							
								ec6ced8f9e
							
						
					
				
			
			
				commit
				
					
						3526ddd9af
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -22,7 +22,7 @@ class BaseEmail(object):
 | 
				
			||||||
        self.email = EmailMultiAlternatives(self.subject, text_content)
 | 
					        self.email = EmailMultiAlternatives(self.subject, text_content)
 | 
				
			||||||
        self.email.attach_alternative(html_content, "text/html")
 | 
					        self.email.attach_alternative(html_content, "text/html")
 | 
				
			||||||
        self.email.from_email = 'no-replay@ungleich.ch'
 | 
					        self.email.from_email = 'no-replay@ungleich.ch'
 | 
				
			||||||
        self.email.to = ['info@ungleich.com']
 | 
					        self.email.to = [kwargs.get('to', 'info@ungleich.com')]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def send(self):
 | 
					    def send(self):
 | 
				
			||||||
        self.email.send()
 | 
					        self.email.send()
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue