|
|
@ -154,13 +154,13 @@ public class CustomerImpressionImplTest {
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
public void sendSimpleMessages() throws Exception {
|
|
|
|
public void sendSimpleMessages() throws Exception {
|
|
|
|
SendMail sendMail = new SendMail();
|
|
|
|
SendMail sendMail = new SendMail();
|
|
|
|
sendMail.setFrom("postmaster@mail.royalpay.com.au");
|
|
|
|
sendMail.setFrom("info@mail.royalpay.com.au");
|
|
|
|
sendMail.setContent("<html><p>Hi kira</p ></html>");
|
|
|
|
sendMail.setContent("<html><p>Hi kira</p ></html>");
|
|
|
|
Set<String> mailCCs = new HashSet<>();
|
|
|
|
Set<String> mailCCs = new HashSet<>();
|
|
|
|
mailCCs.add("asd1159111@163.com");
|
|
|
|
mailCCs.add("asd1159111@163.com");
|
|
|
|
sendMail.setMailCcs(mailCCs);
|
|
|
|
sendMail.setMailCcs(mailCCs);
|
|
|
|
Set<String> mailtos = new HashSet<>();
|
|
|
|
Set<String> mailtos = new HashSet<>();
|
|
|
|
mailtos.add("1029811920@qq.com");
|
|
|
|
mailtos.add("eason.qian@royalpay.com.au");
|
|
|
|
mailtos.add("164851225@qq.com");
|
|
|
|
mailtos.add("164851225@qq.com");
|
|
|
|
sendMail.setMailTos(mailtos);
|
|
|
|
sendMail.setMailTos(mailtos);
|
|
|
|
sendMail.setTitle("Final Test");
|
|
|
|
sendMail.setTitle("Final Test");
|
|
|
|