Hello
Someone just posted me off list asking why email isn't in this list?
http://jakarta.apache.org/site/downloads/downloads_commons.html
Anyone have any ideas?
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
PROTECTED] wrote:
There hasn't been a release has there?
On Apr 7, 2005 5:00 PM, Mark Lowe [EMAIL PROTECTED] wrote:
Hello
Someone just posted me off list asking why email isn't in this list?
http://jakarta.apache.org/site/downloads/downloads_commons.html
Anyone have any ideas?
Mark
Hello I posted this to the user list but its perhaps better posted
here as I guess only you guys will know.
I'm a little confused about which is the correct structure of form
definition. I see that there's no DTD so I guess you're waiting to see
how things pan-out. But having some idea about the
Corey
I'd be interested in what ideas you have for test generation. I've a
few bits I'd like maven test plugin todo that perhaps it cant, such as
being able on configure fixtures in maven.xml , but I haven't got as
far as seeing how I could achieve this.
An xdoclet approach i fear would bloat
:48:25 -0500, Matt Sgarlata
[EMAIL PROTECTED] wrote:
- Original Message -
From: Mark Lowe [EMAIL PROTECTED]
To: Jakarta Commons Developers List [EMAIL PROTECTED]
Sent: Friday, December 03, 2004 5:43 AM
Subject: Re: [OT] Test generation
I'd really like to find a maven configable way
version will entail.
Eric
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Monday, November 29, 2004 5:25 PM
To: Corey Scott
Cc: Jakarta Commons Developers List; [EMAIL PROTECTED]
Subject: Re: [email] Exceptions
Okay I'll take a look
:32:28 +0100, Mark Lowe [EMAIL PROTECTED] wrote:
I'll put the exception tests in with the the others, when its all in.
I left most the tests untouched anyhow just testing for EmailException
rather than MessagingException. Once EmailException is in the head
version I'll start thinking about
outstanding.
Maybe we should start a RC1 thread?
-Corey
On Tue, 30 Nov 2004 13:38:15 +0100, Mark Lowe [EMAIL PROTECTED] wrote:
What needs to be done for 1.0 then? Give me a list and i'll put some
time aside to pitch in.
On Tue, 30 Nov 2004 20:35:48 +0800, Corey Scott [EMAIL
should add to our discussion list once 1.0 is
out of the way.
-Corey
On Tue, 30 Nov 2004 10:32:28 +0100, Mark Lowe [EMAIL PROTECTED] wrote:
I'll put the exception tests in with the the others, when its all in.
I left most the tests untouched anyhow just testing for EmailException
rather
I'll think about it some more.. I like the idea of an examples area.
On Tue, 30 Nov 2004 10:28:51 -0600, Joe Germuska [EMAIL PROTECTED] wrote:
But only having a send method in the email class could fall short of
making the mail api easier to use. As the requirement for bulk emails
is a common
maybe how we compile the jar? Our primary target
is definitly 1.3 for now though.
Eric
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 28, 2004 4:04 PM
To: Commons dev list; Corey Scott
Subject: [email] Exceptions
The issue
out all these try catch statements.
Any objection to a patch with these exception tests moved into a
specialised test case?
Mark
On Mon, 29 Nov 2004 11:23:50 +0100, Mark Lowe [EMAIL PROTECTED] wrote:
Okay 2 commons.mail exceptions sounds like an improvement. So the goal
is to minimise the catch
14:17:30 +0100, Mark Lowe [EMAIL PROTECTED] wrote:
I've created the exceptions and I'm now working through the test cases.
If I summit a patch with the exception testing in a ExceptionTestCase
what's the likelyhood of this being patched? This isn't a question of
style its a question
);
}
catch (EmailException ee){
assertTrue(ee.getMessage().indexOf(myerror)-1)
}
}
That way everything stays together. If we aren't actually asserting the
exception, then we shouldn't bother testing it..
Eric
-Original Message-
From: Mark Lowe [mailto:[EMAIL
The issue of exceptions has come up a few times, and heres a summary
of my understanding of whats been said and agreed and disagreed about.
The idea of throwing AddressException is favourable, but not at the
cost of needing to throw UnsupportingEncodingException. When setting
InternetAddress()
the new io package provides a means to checking the charsets supported
by a given jvm, problem its a 1.4 thing. Does commons email need to
support 1.3 ?
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Does that mean its promoted and worth sumbmitting patches again?
On 25 Nov 2004 09:56:57 -, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
epugh 2004/11/25 01:56:57
Log:
import commons email to
commons prope
CV::
Matthias
I think you're being far to european about this :o)
I think at very least the dumbster author should have an apache
license etched on his forehead and perhaps hand over several family
members as guarantee before one could safely assume that one could
take it on good will that the
Sounds like he's gonna change it anyway.. I mailed him the thread with
henri's explaination and they've had a dialogue sicnce then.
He said
I don't have a problem changing the license. I will take a closer
look at the text tomorrow and
drop in the appropriate license from the choice you gave me
I'm not sure what this class is for but it can be used to check char sets
java.nio.charset.Charset
public void setCharset(String newCharset)
throws UnsupportedEncodingException
{
if (Charset.isSupported(newCharset))
{
this.charset = newCharset;
Opps.. I'd need to watch teh null pointer exception also :o)
On Mon, 15 Nov 2004 09:43:29 +0100, Mark Lowe [EMAIL PROTECTED] wrote:
I'm not sure what this class is for but it can be used to check char sets
java.nio.charset.Charset
public void setCharset(String newCharset
Scott [mailto:[EMAIL PROTECTED]
Sent: Monday, November 15, 2004 6:18 AM
To: Jakarta Commons Developers List; Mark Lowe
Subject: Re: DO NOT REPLY [Bug 32094] - [email] All exceptions seem to
be thrown as messagingExceptions
I also like these ideas and am happy to help you implement
:
It seems like having a default charset, and being able to override it is the
way to go. After all, we are aiming to provide a convenience layer. Most
developers don't have to deal with the charset at all...
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent
A little bit of a digression but I'm reading through the LGPL blurb..
Can you give a bit more detail on this problem? Just as a matter or curiosity.
Mark
On Mon, 15 Nov 2004 21:00:16 +, robert burrell donkin
[EMAIL PROTECTED] wrote:
On 15 Nov 2004, at 11:10, Eric Pugh wrote:
snip
to be a problem. One path is to
explain this to the author and ask if they can dual-license it under
something like BSD or ASL 2.0.
Hen
On Mon, 15 Nov 2004 23:04:11 +0100, Mark Lowe [EMAIL PROTECTED] wrote:
A little bit of a digression but I'm reading through the LGPL blurb..
Can
I had a read of the LGPL, a lawyer but linking is mentioned.
When a program is linked with a library, whether statically or using
a shared library, the combination of the two is legally speaking a
combined work, a derivative of the original library. The ordinary
General Public License therefore
I wanted to add a new exception or group of exception for handling
stuff, but didn't want to start submitting patches that would have no
chance of getting commited.
I agree throwing an addressing exception is good (at least use it as a
validation measure). I started playing with having the
I've started a new thread as I think it will be more useful as a
separate dialogue.
I've just tried Corey's unix test (and added the patched jar), and
have the same problems. Only very quickly so could be something that
i've overlooked. What i cant work out is how the dumbster tests passed
when i
/gettingstarted.html
[3] http://james.apache.org/
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 11:14 AM
To: Jakarta Commons Developers List; Corey Scott; [EMAIL PROTECTED]
Subject: [email] dumbster *nix
I've started a new thread as I
..
On Thu, 4 Nov 2004 12:03:34 +0100, Mark Lowe [EMAIL PROTECTED] wrote:
Eric
I don't have any issues working with dumbster, if indeed it works. Now
I've the dumbster source and I can replicate the same problem running
dumbster tests at least that helps identify the problem. Hopefully
they'll
No its confusion over how the mailapi is distributed.
You can have separte smtp.jat and mailapi or have all in one
(including pop and imap stuff).
The lighter way would be mailapi and smtp but none of the rest.
Mark
On Fri, 5 Nov 2004 02:34:52 +0800, Corey Scott [EMAIL PROTECTED] wrote:
Is
My only concern is checking out a copy and building and the tests
working, not so much for me but new users who could contribute. If
your dumbster patch cant be downloaded via maven then i don't mind
what happens, it was just a fillin and a start to tidying the unit
tests a bit.
On 4 Nov 2004
Eric
Have you got an email or something that doesn't involve the tedious
source forge sign up, for the dumpster guy?
I'm trying to get just a smtp session running (no other tests). This
is the root of the troubles I've been having. Anyway give me an email
and I'll get on the case.
Mark
On
:55:03 +0100, Mark Lowe [EMAIL PROTECTED] wrote:
Eric
Have you got an email or something that doesn't involve the tedious
source forge sign up, for the dumpster guy?
I'm trying to get just a smtp session running (no other tests). This
is the root of the troubles I've been having. Anyway
Looks like we need to develop dumpster to develop commons email :o)
Same thing as you on OSX, my guess theres a hard coded path in the
source somewhere.
On Wed, 3 Nov 2004 20:00:38 +0800, Corey Scott [EMAIL PROTECTED] wrote:
Mark,
I have been trying to get this to work on my Redhat box,
Nothing in dumbster cvs either..
Nice..
On Wed, 3 Nov 2004 13:25:17 +0100, Mark Lowe [EMAIL PROTECTED] wrote:
Looks like we need to develop dumpster to develop commons email :o)
Same thing as you on OSX, my guess theres a hard coded path in the
source somewhere.
On Wed, 3 Nov
your
difficulties!
Eric
-Original Message-
From: Corey Scott [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 03, 2004 1:01 PM
To: Jakarta Commons Developers List; Mark Lowe
Subject: Re: Steps prior to graduating from Sandbox
Mark,
I have been
was tempted to copy the 'usefull' code into
our tests area and see if this fixed the problem. And if so, then
maybe getting the owners permission to incorporate it officially.
What do you think?
-Corey
On Wed, 3 Nov 2004 17:37:06 +0100, Mark Lowe [EMAIL PROTECTED] wrote:
I'm having
You've just nailed it.
I've just run the dumpster as root and the tests passed. My simple
server.start() assertFalse(server.isStopped()) also passed.
Not all the tests passed with the email unit tests, but the issue
you've just mentioned does seem to have an effect.. I'll choose a port
number
I'm cranking up the timeout on OSX that should be at least one unix
flavor.. Is there a ticket for the Unix timeout? or even provide me a
way of listing all bugs for [email] only and i can see what i can
pitch in with.
Mark
On Tue, 2 Nov 2004 19:45:08 +0800, Corey Scott [EMAIL PROTECTED] wrote:
Okay..
OSX seems to dig 500 milsecs for timeout same as corey confirmed on windows.
Tests are down to failures, but summary is printed with no exceptions
as happen when smtp session cant be established.
Mark
On Tue, 2 Nov 2004 12:55:43 +0100, Mark Lowe [EMAIL PROTECTED] wrote:
I'm cranking
I'm talking poo, exceptions are being thrown gracefully in tests but
still problem getting mail session, i'll crank the timeout up..
On Tue, 2 Nov 2004 13:00:47 +0100, Mark Lowe [EMAIL PROTECTED] wrote:
Okay..
OSX seems to dig 500 milsecs for timeout same as corey confirmed on windows
, Mark Lowe [EMAIL PROTECTED] wrote:
I'm talking poo, exceptions are being thrown gracefully in tests but
still problem getting mail session, i'll crank the timeout up..
On Tue, 2 Nov 2004 13:00:47 +0100, Mark Lowe [EMAIL PROTECTED] wrote:
Okay..
OSX seems to dig 500 milsecs for timeout
I'm trying some different ways, if it works and I get the tests moving
with no mail session errors, i'll send a patch ..
On Tue, 2 Nov 2004 20:23:27 +0800, Corey Scott [EMAIL PROTECTED] wrote:
On Tue, 2 Nov 2004 13:17:29 +0100, Mark Lowe [EMAIL PROTECTED] wrote:
[snip]
Could be the start
I can confirm that the timeout on unix (at least osx isn't the only
problem with this dumpster business).
I cranked things up to 2 and still had the getMailSession method
failing . Increasing timeout to 1000 does stop the error for Email
tests but all subsquent tests the same old jazz.
I'll
I made sure my smtp server was off, as I thought that could be the
problem also. A local port scan confirms that nothing is running, when
i start the test. The problem does seem to be starting dumpster. I
added a fakeserver.start() in the setup method and it stopped
EmailTest throwing an
Not sure how to display the messages in a client if out to the file.
In most cases it would be fine, but utimately would need to check on a
client anyway. I don't actually mind spamming myself, it seems a way
to testing beyond the scope of the unit tests..
My opinion on the smtp depenency is that
-Original Message-
From: Corey Scott [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 3:23 AM
To: Jakarta Commons Developers List; Mark Lowe
Subject: Re: [email] test cases
It doesnt use smtp.jar, right
, Mark Lowe [EMAIL PROTECTED] wrote:
The smtp jar does seem required to run the tests and only have them
failing rather than throwing errors. The mail api seems to have
trouble throwing a UnsupportedEncodingException. But this isn't really
a test case issue, as the unit test correctly report
the email out like that solve your needs?
I know it's frustrating getting everything setup, but don't give up!
Eric
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 12:16 PM
To: Jakarta Commons Developers List
Subject: Re: [email] test
Testcase: testSetFrom2(org.apache.commons.mail.EmailTest): FAILED
Should have thrown an exception
junit.framework.AssertionFailedError: Should have thrown an exception
at org.apache.commons.mail.EmailTest.testSetFrom2(EmailTest.java:420)
which is this piece of code
: but was:null at
org.apache.commons.mail.MultiPartEmailTest.testSetMsg(MultiPartEmailTest.jav
a:86)
-Original Message-
From: Eric Pugh [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 1:39 PM
To: Jakarta Commons Developers List; Mark Lowe
Subject: RE: [email] test cases
..
-Original Message-
From: Corey Scott [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 27, 2004 4:14 PM
To: Jakarta Commons Developers List; Mark Lowe
Subject: Re: [email] test cases
Do you have anymore info on why the tests are failing?
If it the previous set of tests
Should these test cases work (after editing the EmailConfig test class)?
I had most of them working yesterday enough to mail me the test mails,
but today i cant get them doing anything. I have an smtp service
running locally, but is this being done by this dumpster thing now?
Anything you could
running on port 25 and you use Dumbster.
I assume you are running under Maven? Run maven test and most should
work.
Eric
[1] http://www.quintanasoft.com/dumbster/
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 27, 2004 1:49 PM
All the errors (not failures) I get are
javax.mail.NoSuchProviderException: smtp ..
It could be a misconguration on my part. If I had a better idea I'd
enter a bug.
Mark
P.S. Thanks!! For the gmail address.
On Wed, 27 Oct 2004 22:23:00 +0800, Corey Scott [EMAIL PROTECTED] wrote:
Ok... please
Has anyone come any issues displaying content type related mails with
apple's mail client?
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Well it wasn't apple mail at all it was the embed method. When adding a
an inline attachment the Content-ID needs to be in myid tags.
Submitted a patch, the problem doesn't get picked up by the unit so no
test case.
Mark
On 26 Oct 2004, at 09:05, Mark Lowe wrote:
Has anyone come any issues
I've been working on a patch but I cant get the existing tests to run,
I've changed the configuration details in the email configuration
class. But compiling the tests fail as nothing is known about this mock
dumpster smtp server.
The patch I'm working on provides an option to set a resolve
Ah fixed .. I just cvs updated.
On 24 Oct 2004, at 22:38, Mark Lowe wrote:
I've been working on a patch but I cant get the existing tests to run,
I've changed the configuration details in the email configuration
class. But compiling the tests fail as nothing is known about this
mock dumpster
a href=mailto:[EMAIL PROTECTED]Mark Lowe/a
*/
public class ISBNValidator {
/**
* @return isbn regular expression
*/
private final static String ISBN_NUMBER_PATTERN = ([0-9 ]|-){11}(-| )[0-9X];
/**
* @return isbn regular expression including ISBN prefix
*/
private final
rules before I would commit
anything. Add the Apache 2.0 license to the top of your .java files
before attaching them to a new bugzilla enhancement ticket. See other
validator source files for an example you can cut and paste.
Thanks!
David
--- Mark Lowe [EMAIL PROTECTED] wrote:
Hello
I've just
62 matches
Mail list logo