git-send-email.perl: improve error message in send_message()
Signed-off-by: Jari Aalto <jari.aalto@cante.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
		
				
					committed by
					
						
						Junio C Hamano
					
				
			
			
				
	
			
			
			
						parent
						
							809780b662
						
					
				
				
					commit
					e5afb3a6f9
				
			@ -957,7 +957,10 @@ X-Mailer: git-send-email $gitversion
 | 
				
			|||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		if (!$smtp) {
 | 
							if (!$smtp) {
 | 
				
			||||||
			die "Unable to initialize SMTP properly.  Is there something wrong with your config?";
 | 
								die "Unable to initialize SMTP properly. Check config. ",
 | 
				
			||||||
 | 
								    "VALUES: server=$smtp_server ",
 | 
				
			||||||
 | 
								    "encryption=$smtp_encryption ",
 | 
				
			||||||
 | 
								    defined $smtp_server_port ? "port=$smtp_server_port" : "";
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		if (defined $smtp_authuser) {
 | 
							if (defined $smtp_authuser) {
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user