| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -451,6 +451,7 @@ type Mailer struct { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						From              string | 
					 | 
					 | 
					 | 
						From              string | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						User, Passwd      string | 
					 | 
					 | 
					 | 
						User, Passwd      string | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						SkipVerify        bool | 
					 | 
					 | 
					 | 
						SkipVerify        bool | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
						UseCertificate    bool | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						CertFile, KeyFile string | 
					 | 
					 | 
					 | 
						CertFile, KeyFile string | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -479,13 +480,14 @@ func newMailService() { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						} | 
					 | 
					 | 
					 | 
						} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						MailService = &Mailer{ | 
					 | 
					 | 
					 | 
						MailService = &Mailer{ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							Name:       sec.Key("NAME").MustString(AppName), | 
					 | 
					 | 
					 | 
							Name:           sec.Key("NAME").MustString(AppName), | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							Host:       sec.Key("HOST").String(), | 
					 | 
					 | 
					 | 
							Host:           sec.Key("HOST").String(), | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							User:       sec.Key("USER").String(), | 
					 | 
					 | 
					 | 
							User:           sec.Key("USER").String(), | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							Passwd:     sec.Key("PASSWD").String(), | 
					 | 
					 | 
					 | 
							Passwd:         sec.Key("PASSWD").String(), | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							SkipVerify: sec.Key("SKIP_VERIFY").MustBool(), | 
					 | 
					 | 
					 | 
							SkipVerify:     sec.Key("SKIP_VERIFY").MustBool(), | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							CertFile:   sec.Key("CERT_FILE").String(), | 
					 | 
					 | 
					 | 
							UseCertificate: sec.Key("USE_CERTIFICATE").MustBool(), | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							KeyFile:    sec.Key("KEY_FILE").String(), | 
					 | 
					 | 
					 | 
							CertFile:       sec.Key("CERT_FILE").String(), | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
							KeyFile:        sec.Key("KEY_FILE").String(), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						} | 
					 | 
					 | 
					 | 
						} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						MailService.From = sec.Key("FROM").MustString(MailService.User) | 
					 | 
					 | 
					 | 
						MailService.From = sec.Key("FROM").MustString(MailService.User) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						log.Info("Mail Service Enabled") | 
					 | 
					 | 
					 | 
						log.Info("Mail Service Enabled") | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |