aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-12-03 19:03:59 +0300
committerGravatar Vitaly Takmazov2018-12-03 19:03:59 +0300
commitf60d7e935d655d4aa897fb8e5d9a12dc9d786e45 (patch)
tree1415abd7227a2faa14cc3b763e68d6d7f4cbe7b3
parent7d021cbf6139bd830ed1db4199caa106aa14f22b (diff)
fix email sender for settings
-rw-r--r--src/main/java/com/juick/server/www/controllers/Settings.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/server/www/controllers/Settings.java b/src/main/java/com/juick/server/www/controllers/Settings.java
index 03682586..57984aef 100644
--- a/src/main/java/com/juick/server/www/controllers/Settings.java
+++ b/src/main/java/com/juick/server/www/controllers/Settings.java
@@ -193,7 +193,7 @@ public class Settings {
Session session = Session.getDefaultInstance(System.getProperties());
try {
MimeMessage message = new MimeMessage(session);
- message.setFrom(new InternetAddress("noreply@mail.juick.com"));
+ message.setFrom(new InternetAddress("noreply@juick.com"));
message.addRecipient(Message.RecipientType.TO, new InternetAddress(request.getParameter("account")));
message.setSubject("Juick authorization link");
message.setText(String.format("Follow link to attach this email to Juick account:\n" +