Il giorno mercoledì 23 gennaio 2013 11:00:09 UTC+1, Salvatore Picozzi ha scritto:
There isn't method store(String,String) in class Properties.
I'm sorry, it's a mistake re-using your previous code.
The goal is to populate a Properties object with pairs of <File Name> / <File Path>
So the code can be something like:
Properties attachments = new Properties();
attachments.setProperty("Newsletter.pdf", "C:\\Documenti\\newsletter\\Newsletter.pdf");
this.getMailManager().sendMixedMail(...., attachments, ....);