Clase enviar correo

This commit is contained in:
dangj501 2024-03-15 23:19:06 -06:00
parent e5b5f93087
commit 5c79dc9172
1 changed files with 38 additions and 0 deletions

View File

@ -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(){
}
}