Class Email
java.lang.Object
org.summerboot.jexpress.integration.smtp.Email
- Author:
- Changski Tie Zheng Zhang 张铁铮, 魏泽北, 杜旺财, 杜富贵
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbcc()bcc(Collection<String> recipients) body()jakarta.mail.internet.MimeMessagebuildMimeMessage(jakarta.mail.Session emailSession) cc()cc(Collection<String> recipients) static Emailcompose(String subject, String body, Email.Format format) format()format(Email.Format format) from()voidsend(jakarta.mail.Session emailSession) voidsendA()subject()to()to(Collection<String> recipients) toString()
-
Field Details
-
from
-
toList
-
ccList
-
bccList
-
subject
-
body
-
format
-
attachments
-
-
Constructor Details
-
Email
-
-
Method Details
-
compose
-
toString
-
from
-
from
-
from
-
to
-
to
-
to
-
cc
-
cc
-
cc
-
bcc
-
bcc
-
bcc
-
subject
-
subject
-
body
-
body
-
format
-
format
-
attachments
-
attachment
-
clearAttachments
-
send
public void send(jakarta.mail.Session emailSession) throws jakarta.mail.MessagingException - Throws:
jakarta.mail.MessagingException
-
buildMimeMessage
public jakarta.mail.internet.MimeMessage buildMimeMessage(jakarta.mail.Session emailSession) throws jakarta.mail.MessagingException - Throws:
jakarta.mail.MessagingException
-
sendA
public void sendA()
-