Class TinyMailMessage
-
- All Implemented Interfaces:
public class TinyMailMessage extends TinyMailConfig
- Since:
2023-01-05
trydofor
-
-
Constructor Summary
Constructors Constructor Description TinyMailMessage()
-
Method Summary
Modifier and Type Method Description Map<String, Resource>getAttachment()StringtoMainString()voidadopt(TinyMailMessage that)Use all `that` values voidmerge(TinyMailMessage that)Use `that` value if `this` is invalid booleanasHtml()static booleanasHtml(String str, boolean elze)LonggetBizId()Business id of the mail StringgetBizMark()Business mark of the mail StringgetSubject()Mail subject StringgetContent()Mail content voidsetBizId(Long bizId)Business id of the mail voidsetBizMark(String bizMark)Business mark of the mail voidsetSubject(String subject)Mail subject voidsetContent(String content)Mail content voidsetAttachment(Map<String, Resource> attachment)Mail attachments and its names StringtoString()booleanequals(Object o)inthashCode()-
Methods inherited from class org.springframework.boot.autoconfigure.mail.MailProperties
getDefaultEncoding, getHost, getJndiName, getPassword, getPort, getProperties, getProtocol, getUsername, setDefaultEncoding, setHost, setJndiName, setPassword, setPort, setProtocol, setUsername -
Methods inherited from class pro.fessional.wings.tiny.mail.sender.TinyMailConfig
adopt, adopt, getBcc, getCc, getFrom, getHtml, getName, getReply, getTo, merge, merge, setBcc, setCc, setFrom, setHtml, setName, setReply, setTo -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getAttachment
Map<String, Resource> getAttachment()
-
toMainString
String toMainString()
-
adopt
void adopt(TinyMailMessage that)
Use all `that` values
-
merge
void merge(TinyMailMessage that)
Use `that` value if `this` is invalid
-
asHtml
boolean asHtml()
-
getBizMark
String getBizMark()
Business mark of the mail
-
getSubject
String getSubject()
Mail subject
-
getContent
String getContent()
Mail content
-
setBizMark
void setBizMark(String bizMark)
Business mark of the mail
-
setSubject
void setSubject(String subject)
Mail subject
-
setContent
void setContent(String content)
Mail content
-
setAttachment
void setAttachment(Map<String, Resource> attachment)
Mail attachments and its names
-
hashCode
int hashCode()
-
-
-
-