master
wangning 7 years ago
parent f24084254c
commit 57b3a77fbd

@ -497,6 +497,7 @@ ALTER TABLE `act_red_packets_customer` ADD COLUMN `rule_max_num_limit` tinyint(1
CREATE TABLE `sys_mail_send` (
`id` int(11) NOT NULL,
`mail_address` varchar(100) NOT NULL COMMENT '邮箱地址',
`cc_mail_address` varchar(100) NOT NULL COMMENT '邮箱地址',
`message_id` varchar(60) NOT NULL COMMENT 'Mailgun Message id',
`status` int(9) NOT NULL DEFAULT 0,
`create_time` datetime not null DEFAULT now(),

@ -823,7 +823,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
SendMail sendMail = new SendMail();
Set<String> to = new HashSet<>();
to.add(mailTo);
sendMail.setFrom("postmaster@mail.royalpay.com.au");
sendMail.setFrom("info@mail.royalpay.com.au");
sendMail.setMailTos(to);
sendMail.setMailCcs(emails);
sendMail.setTitle("Your RoyalPay Cross-border Payment has been set up");
@ -879,7 +879,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
Set<String> to = new HashSet<>();
to.add(mailTo);
sendMail.setMailTos(to);
sendMail.setFrom("postmaster@mail.royalpay.com.au");
sendMail.setFrom("info@mail.royalpay.com.au");
sendMail.setMailCcs(emails);
sendMail.setTitle("Your Partner Account Has Been Authenticated Successfully");
sendMail.setContent(content);

@ -314,7 +314,7 @@ public class SignInAccountServiceImpl implements SignInAccountService, Applicati
Set<String> to = new HashSet<>();
to.add(contact_email);
sendMail.setMailTos(to);
sendMail.setFrom("postmaster@mail.royalpay.com.au");
sendMail.setFrom("info@mail.royalpay.com.au");
sendMail.setTitle("Reset Password");
sendMail.setContent(content);
sendMail.setTags(tags);

@ -144,7 +144,7 @@ public class MailGunServiceImpl implements MailGunService {
}
SendMail sendMail = new SendMail();
sendMail.setFrom("postmaster@mail.royalpay.com.au");
sendMail.setFrom("info@mail.royalpay.com.au");
sendMail.setTitle(title);
sendMail.setContent(doc.outerHtml());
sendMail.setNotice_id(notice_id);

@ -154,13 +154,13 @@ public class CustomerImpressionImplTest {
@Test
public void sendSimpleMessages() throws Exception {
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>");
Set<String> mailCCs = new HashSet<>();
mailCCs.add("asd1159111@163.com");
sendMail.setMailCcs(mailCCs);
Set<String> mailtos = new HashSet<>();
mailtos.add("1029811920@qq.com");
mailtos.add("eason.qian@royalpay.com.au");
mailtos.add("164851225@qq.com");
sendMail.setMailTos(mailtos);
sendMail.setTitle("Final Test");

Loading…
Cancel
Save