views:

19

answers:

0

Is there a simple way to get the Content of an apache commons-email SimpleEmail object? Something like this:

SimpleEmail simpleEmail = new SimpleEmail();
simpleEmail.setMsg(someMsg);
String anotherMsg = simpleEmail.getMsg(); //this dont work obviously.

I don't want to use any reflection black-magic :) Thank you!