Package com.swiftmq.impl.streams.comp.io
Class Email
java.lang.Object
com.swiftmq.impl.streams.comp.io.Email
Facade to send an eMail.
- Author:
- IIT Software GmbH, Muenster/Germany, (c) 2016, All Rights Reserved
-
Method Summary
Modifier and TypeMethodDescriptionSets the bcc addressSets the mail body.Sets the jms.cc addressSets the from addressSets the replyTo addressvoid
send()
Sends the eMail message.Sets fields according to its name: from, to, cc, bcc, subject, bodySets the subjectSets the to address
-
Method Details
-
from
Sets the from address- Parameters:
from
- address- Returns:
-
to
Sets the to address- Parameters:
to
- address- Returns:
-
cc
Sets the jms.cc address- Parameters:
cc
- address- Returns:
-
bcc
Sets the bcc address- Parameters:
bcc
- address- Returns:
-
replyTo
Sets the replyTo address- Parameters:
replyTo
- address- Returns:
-
subject
Sets the subject- Parameters:
subject
- subject- Returns:
-
body
Sets the mail body.- Parameters:
body
- mail body- Returns:
-
set
Sets fields according to its name: from, to, cc, bcc, subject, body- Parameters:
field
- field namevalue
- field value- Returns:
- this
-
send
Sends the eMail message.- Throws:
Exception
-