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:
parent
ed0f4fe666
commit
300b21e5cc
@ -84,17 +84,14 @@ public class electronicMailHandler {
|
|||||||
message.setFrom(new InternetAddress(senderEmailId));
|
message.setFrom(new InternetAddress(senderEmailId));
|
||||||
message.setRecipients(Message.RecipientType.TO,
|
message.setRecipients(Message.RecipientType.TO,
|
||||||
InternetAddress.parse(receiverEmail));
|
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" +
|
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);
|
"\nHave a good day, " + User);
|
||||||
|
|
||||||
Transport.send(message);
|
Transport.send(message);
|
||||||
System.out.println("Sent Disabled Account Join Email");
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
System.err.println("Email ONBOARD Not sent due to an error");
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public static void offBoarding(String receiverEmail, String User, String Name) {
|
public static void offBoarding(String receiverEmail, String User, String Name) {
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user