From 5c79dc91720a31287ff08fceb8260e038926f92e Mon Sep 17 00:00:00 2001 From: dangj501 Date: Fri, 15 Mar 2024 23:19:06 -0600 Subject: [PATCH] Clase enviar correo --- src/Modelo/EnviarCorreo.java | 38 ++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 src/Modelo/EnviarCorreo.java diff --git a/src/Modelo/EnviarCorreo.java b/src/Modelo/EnviarCorreo.java new file mode 100644 index 0000000..423e88e --- /dev/null +++ b/src/Modelo/EnviarCorreo.java @@ -0,0 +1,38 @@ +/* + * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license + * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template + */ +package Modelo; + +import java.util.Properties; +import javax.mail.Session; +import javax.mail.internet.MimeMessage; + +/** + * + * @author Daniel + */ +public class EnviarCorreo { + private static String emailFrom= "drannet9@gmail.com"; + private static String passwordFrom="qnjkswqvuonuporj"; + private static String emailTo; + private static String Subject; + private static String content; + + private Properties mProperties; + private Session mSession; + private MimeMessage mCorreo; + + public EnviarCorreo(){ + mProperties = new Properties(); + } + + private void createEmail(){ + + } + + private void sendEmail(){ + + } + +}