asit.moa.client.deliver.mail
Class MailDeliveryClient
java.lang.Object
asit.moa.client.AbstractClient
asit.moa.client.deliver.mail.MailDeliveryClient
- All Implemented Interfaces:
- Client, DeliveryClient
- public class MailDeliveryClient
- extends AbstractClient
- implements DeliveryClient
- Author:
- atauber
| Fields inherited from class asit.moa.client.AbstractClient |
clientAuthStore_, clientAuthStorePassword_, clientAuthStoreType_, defaultAddress_, doc_, factory_, headers_, keyIdentifier_, qname_service_, sslTrustStore_, sslTrustStorePassword_, sslTrustStoreType_ |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mailSubject_
protected String mailSubject_
mailSenderName_
protected String mailSenderName_
mailSenderAddress_
protected String mailSenderAddress_
mailText_
protected String mailText_
properties_
protected Properties properties_
personData_
protected Adressat personData_
binaryDocuments_
protected ArrayList binaryDocuments_
defaultPort_
protected int defaultPort_
htmlBody_
protected String htmlBody_
htmlBodyCharset_
protected String htmlBodyCharset_
bcc_
protected List bcc_
MailDeliveryClient
public MailDeliveryClient()
throws ClientException
- Throws:
ClientException
addBCCRecipient
public void addBCCRecipient(String recipient)
setHTMLBody
public void setHTMLBody(String content)
setHTMLBody
public void setHTMLBody(String content,
String charset)
setDefaultPort
public void setDefaultPort(int port)
deliver
public void deliver()
throws DeliveryException
- Specified by:
deliver in interface DeliveryClient
- Throws:
DeliveryException
setReceiver
public void setReceiver(Adressat data)
- Specified by:
setReceiver in interface DeliveryClient
addPayLoadBinaryDocument
public void addPayLoadBinaryDocument(InputStream is,
String fileName,
String mimeType)
- Specified by:
addPayLoadBinaryDocument in interface DeliveryClient
addPayLoadBinaryDocument
public void addPayLoadBinaryDocument(BinaryDocument document)
getRequest
public Element getRequest()
throws ClientException
- Specified by:
getRequest in interface Client
- Throws:
ClientException
sendRequest
public Element sendRequest(String address)
throws ClientException
- Specified by:
sendRequest in interface Client- Overrides:
sendRequest in class AbstractClient
- Throws:
ClientException
setDefaultAddress
public void setDefaultAddress(String address)
- Specified by:
setDefaultAddress in interface Client- Overrides:
setDefaultAddress in class AbstractClient
- Parameters:
address -
setMailSubject
public void setMailSubject(String mailSubject_)
- Parameters:
mailSubject_ - The mailSubject_ to set.
setMailText
public void setMailText(String mailText_)
- Parameters:
mailText_ - The mailText_ to set.
setPersonData
public void setPersonData(Adressat personData_)
- Parameters:
personData_ - The personData_ to set.
setMailSender
public void setMailSender(String mailSender_)
- Parameters:
mailSender_ - The mailSender_ to set.
getMailSenderAddress
public String getMailSenderAddress()
setMailSenderAddress
public void setMailSenderAddress(String mailSenderAddress_)
Copyright 2007 Institut fuer Angewandte Informationsverarbeitung und Kommunikationstechnologie. All Rights Reserved.