commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: svn commit: r1606629 - /commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailLiveTest.java
Date Tue, 01 Jul 2014 13:56:44 GMT
On 30 June 2014 07:10,  <tn@apache.org> wrote:
> Author: tn
> Date: Mon Jun 30 06:10:47 2014
> New Revision: 1606629
>
> URL: http://svn.apache.org/r1606629
> Log:
> Remove personal email address from live test.
>
> Modified:
>     commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailLiveTest.java
>
> Modified: commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailLiveTest.java
> URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailLiveTest.java?rev=1606629&r1=1606628&r2=1606629&view=diff
> ==============================================================================
> --- commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailLiveTest.java
(original)
> +++ commons/proper/email/trunk/src/test/java/org/apache/commons/mail/EmailLiveTest.java
Mon Jun 30 06:10:47 2014
> @@ -372,7 +372,7 @@ public class EmailLiveTest extends Abstr
>      public void testPartialSend() throws Exception
>      {
>          SimpleEmail email = (SimpleEmail) create(SimpleEmail.class);
> -        email.addTo("tn@apache.org");
> +        email.addTo(EmailConfiguration.TEST_TO);
>          email.addTo("asdkljfakld@kadjfka.com");

If this is intended to be a dummy (non-existent) e-mail address, then
it should use the .invalid TLD which is designed for that purpose.
[BTW, OpenDNS fixed their software so .invalid no longer resolves]

The e-mail address (and host) may not exist today, but they may do so one day.

>          email.setSubject("TestPartialMail");
>          email.setMsg("This is a test mail ... :-)");
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message