Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/java/org/tdl/vireo/service/VireoEmailSender.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public void sendEmail(String[] to, String[] cc, String[] bcc, String subject, St
loadConfiguration();

MimeMessage message = createMimeMessage();
MimeMessageHelper mm = new MimeMessageHelper(message);
MimeMessageHelper mm = new MimeMessageHelper(message, true);

mm.setFrom(vireoEmailConfig.getFrom());
mm.setReplyTo(vireoEmailConfig.getReplyTo());
Expand All @@ -85,7 +85,7 @@ public void sendEmail(String[] to, String[] cc, String[] bcc, String subject, St
mm.setCc(cc);
mm.setBcc(bcc);
mm.setSubject(subject);
mm.setText(content, false);
mm.setText(content, true);

LOG.debug("\tSending email with subject '" + subject + "' from " + vireoEmailConfig.getFrom() + " to: [ " + String.join("; ", to) + " ], cc: [ " + String.join(";", cc) + " ], bcc: [ " + String.join(";", bcc) + " ]; ");
send(message);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ You are receiving this message because {FULL_NAME} has submitted a thesis or dis

The submission is available for your review at:

{ADVISOR_URL}
<a href="{ADVISOR_URL}">Advisor URL</a>

The following information is included for your convenience:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ Subject: Deposit Notification

It can be found at the following URI:

{DEPOSIT_URI}
<a href="{DEPOSIT_URI}">Deposit URI</a>

The Vireo Team
2 changes: 1 addition & 1 deletion src/main/resources/emails/SYSTEM_Initial_Submission.email
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ You are receiving this message to confirm the successful submission of your {SUB

The submission is available for your review at:

{STUDENT_URL}
<a href="{STUDENT_URL}">Student URL</a>

The following information is included for your convenience:

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/emails/SYSTEM_Needs_Corrections.email
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ You are receiving this message to inform you that the submission of your {SUBMIS

The submission is available for you to make corrections at:

{SUBMISSION_URL}
<a href="{SUBMISSION_URL}">Submission URL</a>

The following information is included for your convenience:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Subject: Vireo Account Registration
To complete registration of your Vireo account, please click the link
below:

{REGISTRATION_URL}
<a href="{REGISTRATION_URL}">Registration URL</a>

If you need assistance with your account, please email
vireo@myuniversity.edu or call us at xxx-555-xxxx.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ Title: {DOCUMENT_TITLE}

Please see the action log for more information.

{ADVISOR_URL}
<a href="{ADVISOR_URL}">Advisor URL</a>

The Vireo Team
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Subject: Verify Email Address
Please click on the link below to verify your email address with
Vireo.

{REGISTRATION_URL}
<a href="{REGISTRATION_URL}">Verify Email Address</a>

If you need assistance with your account, please email
vireo@myuniversity.edu or call us at xxx-555-xxxx.
Expand Down
Loading