Update emailVerify.java

Doing stuff on GitHub, should still work.
This commit is contained in:
James Quinley 2022-03-30 08:26:51 -07:00 committed by GitHub
parent 5ae74f157b
commit 06a6fe0cda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,9 +80,9 @@ public class emailVerify {
message.setRecipients(Message.RecipientType.TO, message.setRecipients(Message.RecipientType.TO,
InternetAddress.parse(receiverEmail)); InternetAddress.parse(receiverEmail));
message.setSubject("Obsidian Core Account Login Notice | " + Date); message.setSubject("Obsidian Core Account Login Notice | " + Date);
message.setText("Something seems fishy, a login was detected at a new location " + Adr + " Compared To Your Last Logon " + OldAdr +" "+"(at " + dateFormat.format(dt) + " PST)" + ". If this was you ignore this email, if it wasn't you, please contact us (Respond to this email).\n\n\n\n" + message.setText("Something seems fishy, a login was detected at a new location " + Adr +" "+ "(at " + dateFormat.format(dt) + " PST)" + ". \n If this was you ignore this email, if it wasn't you, please contact us (Respond to this email).\n\n\n\n" +
" \nThis email (" + receiverEmail + ") is linked to the Obsidian Core account "+ User + " \nThese security emails can't be opted out of. \n\nThis was sent on behalf of Obsidian Core Studios by our super cool login robots.\n\n\n\n" + " \nThis email (" + receiverEmail + ") is linked to the Obsidian Core account "+ User + " \nThese security emails can't be opted out of. \n\nThis was sent on behalf of Obsidian Core Studios by our super cool login robots.\n\n\n\n" +
"The MAC address used has been set as your account's default ("+Adr + ")"); "The MAC address used has been set as your account's default, as well as past logins ("+Adr + ")");
Transport.send(message); Transport.send(message);
System.out.println("Alert Sent"); System.out.println("Alert Sent");