Fixed server build, this consolidates requests into a general category. Please be mindful of your input data when making requests in the general category.

This commit is contained in:
James Quinley 2023-03-24 22:08:29 -07:00
parent ed0f4fe666
commit 300b21e5cc
2 changed files with 672 additions and 700 deletions

View File

@ -84,17 +84,14 @@ public class electronicMailHandler {
message.setFrom(new InternetAddress(senderEmailId));
message.setRecipients(Message.RecipientType.TO,
InternetAddress.parse(receiverEmail));
message.setSubject("Obsidian Core Request Denial");
message.setSubject("Obsidian Core Account Message");
message.setText("Hey there, account creation has been disabled.\n" +
"We're closing up shop, and we've disabled account creation on the service. Existing accounts will continue to work until service shutdown." +
"Due to a technical issue account creation has been disabled, see https://status.obsidiancorestudios.com for more info." +
"\nHave a good day, " + User);
Transport.send(message);
System.out.println("Sent Disabled Account Join Email");
} catch (Exception e) {
e.printStackTrace();
System.err.println("Email ONBOARD Not sent due to an error");
}
}
public static void offBoarding(String receiverEmail, String User, String Name) {