Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
send-email: Honour SMTP domain when using TLS
[gitweb.git]
/
git-send-email.perl
diff --git
a/git-send-email.perl
b/git-send-email.perl
index 0f23ed380f93383fd3e085149e482be54964f789..6a17ed6d6149675444a9cc28a7e7300b644974d3 100755
(executable)
--- a/
git-send-email.perl
+++ b/
git-send-email.perl
@@
-1015,7
+1015,7
@@
sub send_message {
$smtp_encryption = '';
# Send EHLO again to receive fresh
# supported commands
- $smtp->hello();
+ $smtp->hello(
$smtp_domain
);
} else {
die "Server does not support STARTTLS! ".$smtp->message;
}