Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/master' into bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
clj13001 committed Apr 19, 2017
2 parents 1592e3f + bb2dd4a commit 28ea1d8
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 28ea1d8

Please sign in to comment.