This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
youys
/
ant
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
1
Code
Releases
0
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Send FQDN instead of simple hostname in SMTP HELO command
This
closes
#101
pull request at github/apache/ant repo
master
mguessan@free.fr
Jaikiran Pai
5 years ago
parent
2d221de4c1
commit
451ecde5c9
5 changed files
with
14 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
CONTRIBUTORS
+7
-0
WHATSNEW
+4
-0
contributors.xml
+1
-1
src/main/org/apache/tools/mail/MailMessage.java
+1
-1
src/tests/junit/org/apache/tools/mail/MailMessageTest.java
+ 1
- 0
CONTRIBUTORS
View File
@@ -292,6 +292,7 @@ Michael Newcomb
Michael Nygard
Michael Saunders
Michael Seele
Mickaël Guessant
Miha
Mike Davis
Mike Roberts
+ 7
- 0
WHATSNEW
View File
@@ -1,6 +1,13 @@
Changes from Ant 1.10.7 TO Ant 1.10.8
=====================================
=======
Other changes:
--------------
* org.apache.tools.mail.MailMessage will now send a fully qualified
domain name in its HELO message.
Github Pull Request #101
Changes from Ant 1.10.6 TO Ant 1.10.7
=====================================
+ 4
- 0
contributors.xml
View File
@@ -1212,6 +1212,10 @@
<first>Michael</first>
<last>Seele</last>
</name>
<name>
<first>Mickaël</first>
<last>Guessant</last>
</name>
<name>
<last>Miha</last>
</name>
+ 1
- 1
src/main/org/apache/tools/mail/MailMessage.java
View File
@@ -393,7 +393,7 @@ public class MailMessage {
}
void sendHelo() throws IOException {
String local = InetAddress.getLocalHost().getHostName();
String local = InetAddress.getLocalHost().get
Canonical
HostName();
int[] ok = {OK_HELO};
send("HELO " + local, ok);
}
+ 1
- 1
src/tests/junit/org/apache/tools/mail/MailMessageTest.java
View File
@@ -44,7 +44,7 @@ public class MailMessageTest {
@Before
public void setUp() {
try {
local = InetAddress.getLocalHost().getHostName();
local = InetAddress.getLocalHost().get
Canonical
HostName();
} catch (java.net.UnknownHostException uhe) {
// ignore
}
Write
Preview
Loading…
Cancel
Save