Hi Jan,
thank you for your great help!
(final MgnlEmail email = mailFactory.getEmailFromType(new HashMap(), null); has
no effect … ;-(
Here is my complete stack trace:
[#|2012-11-19T09:34:40.286+0100|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=21;
Hi Jan,
no mailFactory is ok but the call final MgnlEmail email =
mailFactory.getEmailFromType(new HashMap(), mailType);
results in email is null!
MailModule is installed …
Is my code right? Whats wrong? My code again:
private void sendErrorMail(String message, String subject, String
reci
Sry ..
mail seems to be null so mailFactory.getEmailFromType(new HashMap(), mailType);
fails …
Whats the right implementation to send a simple text mail in magnolia? The
example below came from magnolia sources ...
Thank you!
Klaus
final MgnlMailFactory mailFactory = ((MailModule)
ModuleReg
Yes,
here it is:
email.setBody(message);
if i uncomment it then email.setToList(recipientList); throws a null pointer ..
?
Is there no standard to send a simple email via magnolia?
I have a importer, if it fails he should send a mail …
Thank you!!
[#|2012-11-14T11:28:18.389+0100|SEVERE|glass
I try to send a simple plain text mail with the magnolia api- but i always get
null pointer exception: Plz Help!
private void sendErrorMail(String message, String subject, String
recipientList) {
try {
final MgnlMailFactory mailFactory = ((MailModule)
ModuleRegistry.Fact
Hi there,
I've created a small example importer for importing data into Magnolia. And so
far it works fine:
public class NoteImportHandler extends ImportHandler {
private Logger log = LoggerFactory.getLogger(NoteImportHandler.class);
protected Set doImport(ImportTarget traget, Content