I tried the following code in the Groovy in the Jedox ETL.
-----------------------------------------------
import javax.mail.Message;
LOG.info("BCC:" + Message.RecipientType.BCC);
mailer = API.getMailer();
mailer.setServer();
mailer.addRecipient(Message.RecipientType.BCC,"e-mail address");
//mailer.addRecipient("e-mail address");
mailer.setSubject("test");
mailer.setMessage("test!");
mailer.send();
-----------------------------------------------
And then, I get the following error.
Unable to execute groovy job: groovy.lang.MissingMethodException: No signature of method: com.jedox.etl.core.util.MailUtil.addRecipient() is applicable for argument types: (javax.mail.Message$RecipientType, java.lang.String) values: [Bcc, e-mail address]
And I can use the following code,
but it send email only with To.
mailer.addRecipient("e-mail address");
At this time , it is not supported to send the mail with Cc and Bcc in the Jedox ETL .
So, Could you please add this functionality to send the mail with Cc and Bcc in the Jedox ETL.