Skip to content

Commit

Permalink
Replaced my personal email with a dummy email so everyone can get ema…
Browse files Browse the repository at this point in the history
…ils now
  • Loading branch information
arc12012 committed Apr 18, 2017
1 parent 8dda270 commit 734d223
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utilities/Mail.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@


public class Mail {
private String sender = "arclaxton@gmail.com";
private String password = "";
private String sender = "Senior.design.synchrony.test@gmail.com";
private String password = "synchrony123";
private User client;
public Mail(User client){
this.client=client;
Expand Down Expand Up @@ -50,7 +50,7 @@ public void sendTicketConfirmation(int[] ticketIDs) throws IOException, Interrup
}
msg=msg.replace("{TICKETS GO HERE}",tickethtml);
Properties properties = System.getProperties();
properties = setProp(sender, client.getEmail());
// properties = setProp(sender, client.getEmail());
Session session = Session.getInstance(properties, new Authenticator() {
protected PasswordAuthentication getPasswordAuthentication(){
return new PasswordAuthentication(sender, password);
Expand Down

0 comments on commit 734d223

Please sign in to comment.