Package de.elo.ix.jscript.handler
Interface ISendMailHandler
public interface ISendMailHandler
Internally used interface. Class SendMail forwards method calls to an implementation of this
interface. The implementation is only available when we are running as a IX event script or
plugin.
-
Method Summary
Modifier and TypeMethodDescriptionGet the attachment(s)getBCC()
Get the receipient(s) who receive the mail as BCC.getBody()
Get the mail body.getCC()
Get the receipient(s) who receive the mail as CC.Get the sender.Get the mail subject.getTO()
Get the receipient(s).void
send()
Send the mail.void
Set the attachment(s).void
Set the receipient(s) who receive the mail as BCC.void
Set the mail body.void
Set the receipient(s) who receive the mail as CC.void
Set the sender(s).void
setSubject
(String subject) Set the mail subject.void
Set the receipient(s).
-
Method Details
-
setSender
Set the sender(s).- Parameters:
sender
-
-
getSender
String getSender()Get the sender.- Returns:
- sender
-
setTO
Set the receipient(s).- Parameters:
mailTo
- receipient(s)
-
getTO
Object getTO()Get the receipient(s).- Returns:
- receipient(s)
-
setCC
Set the receipient(s) who receive the mail as CC.- Parameters:
mailTo
- receipient(s)
-
getCC
Object getCC()Get the receipient(s) who receive the mail as CC.- Returns:
- receipient(s)
-
setBCC
Set the receipient(s) who receive the mail as BCC.- Parameters:
mailTo
- receipient(s)
-
getBCC
Object getBCC()Get the receipient(s) who receive the mail as BCC.- Returns:
- receipient(s)
-
setSubject
Set the mail subject.- Parameters:
subject
- Subject text
-
getSubject
String getSubject()Get the mail subject.- Returns:
- Subject text
-
setBody
Set the mail body.- Parameters:
text
- mail body
-
getBody
String getBody()Get the mail body.- Returns:
- mail body
-
setAttachments
Set the attachment(s).- Parameters:
v
- mail attachment(s)
-
getAttachments
Object getAttachments()Get the attachment(s)- Returns:
- mail attachment(s)
-
send
Send the mail.- Throws:
Exception
-