Update emailVerify.java

This commit is contained in:
James Quinley 2022-02-08 08:24:48 -08:00 committed by GitHub
parent eb9cb940fc
commit a70d9ca7f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,8 +39,8 @@ 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("We detected a new login on your account, if this was you ignore this email, if it wasn't you, please login and change your password. \n \n \n \n \n This was sent on behalf of Obsidian Core Studios by our super cool login robots! \n NOTICE: This is a no-reply address." + message.setText("We detected a new login on your account, if this was you ignore this email, if it wasn't you, please login and change your password. \n \n \n \n" +
" \n This email (" + receiverEmail + ") is linked to the Obsidian Core Account "+ User + " \n These security emails can't be opted out of."); " \n This email (" + receiverEmail + ") is linked to the Obsidian Core Account "+ User + " \n These security emails can't be opted out of. \n \n This was sent on behalf of Obsidian Core Studios by our super cool login robots!");
Transport.send(message); Transport.send(message);
System.out.println("Server Failed To Send User Login Notice"); System.out.println("Server Failed To Send User Login Notice");