Skip to content

Commit

Permalink
修改注册中心
Browse files Browse the repository at this point in the history
  • Loading branch information
pzhgugu committed Aug 5, 2016
1 parent 3403ed8 commit 02e9d75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void testSendMessage() throws Exception {
try {
// 邮件发送
MailParam mail = new MailParam();
mail.setTo("wu-sc@foxmail.com");
mail.setTo("xxxx@xxxxl.com");
mail.setSubject("ActiveMQ测试");
mail.setContent("通过ActiveMQ异步发送邮件!");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public void testSend() throws Exception {

/* SimpleMailSender sms = new SimpleMailSender("pzh_goshop@126.com","pzh1234567");
try {
sms.send("pzh_gugu@126.com","找回密码","你来吧!");
sms.send("xxxxx@126.com","找回密码","你来吧!");
} catch (MessagingException e) {
e.printStackTrace();
}*/
Expand All @@ -29,7 +29,7 @@ public void testSend() throws Exception {
@Test
public void threadSpringSend(){
MailParam mail = new MailParam();
mail.setTo("pzh_gugu@126.com");
mail.setTo("xxxxxx@126.com");
mail.setSubject("找回密码2");
mail.setContent("你来吧!");
eMailService.threadSend(mail);
Expand All @@ -38,7 +38,7 @@ public void threadSpringSend(){
@Test
public void springSend(){
MailParam mail = new MailParam();
mail.setTo("pzh_gugu@126.com");
mail.setTo("xxxxxx@126.com");
mail.setSubject("找回密码");
mail.setContent("你来吧!");
eMailService.send(mail);
Expand Down

0 comments on commit 02e9d75

Please sign in to comment.