Skip to content

Commit 776765e

Browse files
committed
Made changes to the gradle dependencies in order to facilitate email verification
1 parent 9c471f0 commit 776765e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ repositories {
77
}
88

99
dependencies {
10+
implementation 'javax.mail:javax.mail-api:1.6.2'
1011
implementation 'junit:junit:4.13.1'
1112
testImplementation('org.junit.jupiter:junit-jupiter:5.6.0')
1213
}

src/main/java/EmailDelivery.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
import javax.mail.Session;
12
public class EmailDelivery implements ISendVerificationCode{
23
public void sendVerificationCode(String email, int code){
34
/*TODO: When this is implemented, the verification code will be sent to the email specified by String email*/
45
System.out.println("Verification code sent to " + email);
6+
57
}
68
}

0 commit comments

Comments
 (0)