Hi Jose, 2 solutions:
1/ you use a real mail server during your (integration) test. For example, Jakarta James. The best would be an embeddable java mail server that you run from within your test. I don't know if there is such a beast. 2/ you use Mock Objects to mock the javamail API Solution 2/ is by far the simplest but you'll still need functional tests later on to verify it really works (note that these tests can be manual if you don't want to spend the time to automate them). Hope it helps, -Vincent > -----Original Message----- > From: Jose Alfonso Martinez [mailto:[EMAIL PROTECTED] > Sent: 18 October 2003 02:14 > To: [EMAIL PROTECTED] > Subject: Testing JavaMail > > Hello, > > Do you know if there is a way/software/technology for testing my servlets > to see if they sent the correct emails (using javamail)???? > > Thanks > > Jose > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
