Update Onboarding Emails
This commit is contained in:
parent
b475728890
commit
a9d244d489
@ -17,7 +17,7 @@ public class emailVerify {
|
|||||||
static final String senderPassword = "dcixokaivbyxbmnj";
|
static final String senderPassword = "dcixokaivbyxbmnj";
|
||||||
static final String emailSMTPserver = "smtp.gmail.com";
|
static final String emailSMTPserver = "smtp.gmail.com";
|
||||||
static final String emailSMTPPort = "465";
|
static final String emailSMTPPort = "465";
|
||||||
public static void Onboarding(String receiverEmail) {
|
public static void Onboarding(String receiverEmail, String User) {
|
||||||
//get date for email
|
//get date for email
|
||||||
Date date = new Date();
|
Date date = new Date();
|
||||||
SimpleDateFormat formatter = new SimpleDateFormat("MM/dd/yy");
|
SimpleDateFormat formatter = new SimpleDateFormat("MM/dd/yy");
|
||||||
@ -45,7 +45,8 @@ public class emailVerify {
|
|||||||
message.setSubject("Welcome To Obsidian Core Studios!");
|
message.setSubject("Welcome To Obsidian Core Studios!");
|
||||||
message.setText("Seems you've signed up for an account we're happy you're here, and welcome to the Obsidian Core Studios Family! \n\n\n\n\n" +
|
message.setText("Seems you've signed up for an account we're happy you're here, and welcome to the Obsidian Core Studios Family! \n\n\n\n\n" +
|
||||||
"This Was Sent On Behalf Of Obsidian Core Studios By Our Super Cool Login Robots." +
|
"This Was Sent On Behalf Of Obsidian Core Studios By Our Super Cool Login Robots." +
|
||||||
"\n You'll Only Get This Email Once.");
|
"\nYou'll Only Get This Email Once." +
|
||||||
|
"\nThis Account Was Created For:" +User);
|
||||||
|
|
||||||
Transport.send(message);
|
Transport.send(message);
|
||||||
System.out.println("Sent Onboarding Email");
|
System.out.println("Sent Onboarding Email");
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
package com.jamesquinley.DelegationServices;
|
||||||
|
|
||||||
|
public class chatSessionCreator {
|
||||||
|
|
||||||
|
}
|
@ -788,7 +788,7 @@ public class delegationServices {
|
|||||||
FNETDOC.insertOne(FnetInit);
|
FNETDOC.insertOne(FnetInit);
|
||||||
BasicDBObject searchQuery = new BasicDBObject();
|
BasicDBObject searchQuery = new BasicDBObject();
|
||||||
searchQuery.append("clientid", ClientID);
|
searchQuery.append("clientid", ClientID);
|
||||||
com.jamesquinley.Asecure.emailVerify.Onboarding(Email);
|
com.jamesquinley.Asecure.emailVerify.Onboarding(Email, User);
|
||||||
BasicDBObject updateQuery = new BasicDBObject();
|
BasicDBObject updateQuery = new BasicDBObject();
|
||||||
BasicDBObject updateQuery1 = new BasicDBObject();
|
BasicDBObject updateQuery1 = new BasicDBObject();
|
||||||
updateQuery.append("$set",
|
updateQuery.append("$set",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user