366367368369370371372373374375376
company.getPortalURL(), user.getEmailAddress(), user.getFullName(), user.getPassword()}); try { MailManagerUtil.sendEmail(new MailMessage( new InternetAddress(company.getEmailAddress(), adminName), new InternetAddress( user.getEmailAddress(), user.getFullName()), subject, body)); }
255256257258259260261262263264265
InternetAddress[] bcc = new InternetAddress[] { new InternetAddress(company.getEmailAddress(), adminName) }; MailManagerUtil.sendEmail(new MailMessage( from, to, cc, bcc, subject, body)); } catch (IOException ioe) { throw new SystemException(ioe); }