Added cron to send email and fixing settings error
This commit is contained in:
		
					parent
					
						
							
								14905db9dc
							
						
					
				
			
			
				commit
				
					
						9f2c78db33
					
				
			
		
					 15 changed files with 42 additions and 25 deletions
				
			
		| 
						 | 
				
			
			@ -21,7 +21,7 @@ class BaseEmail(object):
 | 
			
		|||
 | 
			
		||||
        self.email = EmailMultiAlternatives(self.subject, text_content)
 | 
			
		||||
        self.email.attach_alternative(html_content, "text/html")
 | 
			
		||||
        self.email.to = ['info@digitalglarus.ch']
 | 
			
		||||
        self.email.to = ['levinoelvm@gmail.com']
 | 
			
		||||
 | 
			
		||||
    def send(self):
 | 
			
		||||
        self.email.send()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue