Portal mail service "from" specification
I am using Portal mail service but if I do not specify te from field it did not work:
ISendMailService sendMailSvc = (ISendMailService) ResourceFactory.getInstance().getServiceFactory().getService(ISendMailService.SERVICE_ID);
ISendMailItem mailItem = sendMailSvc.createMailItem();
mailItem = sendMailSvc.createMailItem();
By now I am using the same user registered inside portal for notifications but as I did not find a way to read this configuration I am fixing the email account inside my program and this is something I want to avoid.
Does anyone know if there is a way to read what is the email account specified in Portal for notification or if there is a way to ommit the specification of setFrom.