working FTP
This commit is contained in:
@@ -15,6 +15,11 @@
|
||||
<artifactId>gson</artifactId>
|
||||
<version>2.11.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.sun.mail</groupId>
|
||||
<artifactId>jakarta.mail</artifactId>
|
||||
<version>2.0.1</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
|
||||
@@ -7,5 +7,11 @@ public class Main {
|
||||
public static void main(String[] args) {
|
||||
Logger logger = LogManager.getLogger(Main.class);
|
||||
logger.info("SMTP server started");
|
||||
|
||||
String host = "smtp.gmail.com";
|
||||
String port = "587";
|
||||
String fromEmail = "your-email@gmail.com";
|
||||
String fromPassword = "your-email-password";
|
||||
String toEmail = "daniil.schipschi@isa.utm.md";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user