Send mail Using RTC sdk
One answer
ok.. what is the question?
here is the method definition
public void sendMail(MailSender sender, String toAddress, String subject, String msg, String cc) throws MessagingException;
and a sample use
<p>
try {
IMailerService mailerService = getService(IMailerService.class);
mailerService.sendMail(mailerService.getDefaultSender(), "toAddress", "subject", "msg", "cc");
}
catch(Exception ex)
{
System.out.println("exception="+ ex.getMessage());
}
</p>
here is the method definition
public void sendMail(MailSender sender, String toAddress, String subject, String msg, String cc) throws MessagingException;
and a sample use
<p>
try {
IMailerService mailerService = getService(IMailerService.class);
mailerService.sendMail(mailerService.getDefaultSender(), "toAddress", "subject", "msg", "cc");
}
catch(Exception ex)
{
System.out.println("exception="+ ex.getMessage());
}
</p>