| |
|
| java.lang.Object org.apache.commons.mail.Email org.apache.commons.mail.mocks.MockEmailConcrete
MockEmailConcrete | public class MockEmailConcrete extends Email (Code) | | Concrete Implementation on the Abstract Email
Class (used to allow testing only). Supplies
getters for methods that normally only have setters.
since: 1.0 author: Corey Scott version: $Id: MockEmailConcrete.java 240033 2005-08-25 10:03:05Z henning $ |
getAuthenticator | public Authenticator getAuthenticator()(Code) | | Retrieve the current authentication setting
Authenticator Authenticator |
getContentMimeMultipart | public MimeMultipart getContentMimeMultipart()(Code) | | content |
getContentObject | public Object getContentObject()(Code) | | content |
getContentType | public String getContentType()(Code) | | contentType |
getEmailBody | public MimeMultipart getEmailBody()(Code) | | emailBody |
getFromAddress | public InternetAddress getFromAddress()(Code) | | fromAddress |
getHeaders | public Map getHeaders()(Code) | | headers |
getMessage | public MimeMessage getMessage()(Code) | | message |
getPopPassword | public String getPopPassword()(Code) | | popPassword |
getPopUsername | public String getPopUsername()(Code) | | popUsername |
getReplyList | public List getReplyList()(Code) | | replyList |
isDebug | public boolean isDebug()(Code) | | Retrieve the current debug setting
debug |
isPopBeforeSmtp | public boolean isPopBeforeSmtp()(Code) | | popBeforeSmtp |
setMsg | public Email setMsg(String msg)(Code) | | Not Implemented, should be implemented in subclasses of Email
Parameters: msg - The email message Email msg. |
Methods inherited from org.apache.commons.mail.Email | public Email addBcc(String email) throws EmailException(Code)(Java Doc) public Email addBcc(String email, String name) throws EmailException(Code)(Java Doc) public Email addCc(String email) throws EmailException(Code)(Java Doc) public Email addCc(String email, String name) throws EmailException(Code)(Java Doc) public void addHeader(String name, String value)(Code)(Java Doc) public Email addReplyTo(String email) throws EmailException(Code)(Java Doc) public Email addReplyTo(String email, String name) throws EmailException(Code)(Java Doc) public Email addTo(String email) throws EmailException(Code)(Java Doc) public Email addTo(String email, String name) throws EmailException(Code)(Java Doc) public void buildMimeMessage() throws EmailException(Code)(Java Doc) public InternetAddress getFromAddress()(Code)(Java Doc) public String getHostName()(Code)(Java Doc) public Session getMailSession() throws EmailException(Code)(Java Doc) public MimeMessage getMimeMessage()(Code)(Java Doc) public Date getSentDate()(Code)(Java Doc) public String getSmtpPort()(Code)(Java Doc) public String getSubject()(Code)(Java Doc) public String send() throws EmailException(Code)(Java Doc) public String sendMimeMessage() throws EmailException(Code)(Java Doc) public void setAuthentication(String userName, String password)(Code)(Java Doc) public void setAuthenticator(Authenticator newAuthenticator)(Code)(Java Doc) public Email setBcc(Collection aCollection) throws EmailException(Code)(Java Doc) public Email setBounceAddress(String email)(Code)(Java Doc) public Email setCc(Collection aCollection) throws EmailException(Code)(Java Doc) public void setCharset(String newCharset)(Code)(Java Doc) public void setContent(MimeMultipart aMimeMultipart)(Code)(Java Doc) public void setContent(Object aObject, String aContentType)(Code)(Java Doc) public void setDebug(boolean d)(Code)(Java Doc) public Email setFrom(String email) throws EmailException(Code)(Java Doc) public Email setFrom(String email, String name) throws EmailException(Code)(Java Doc) public void setHeaders(Map map)(Code)(Java Doc) public void setHostName(String aHostName)(Code)(Java Doc) public void setMailSession(Session aSession)(Code)(Java Doc) abstract public Email setMsg(String msg) throws EmailException(Code)(Java Doc) public void setPopBeforeSmtp(boolean newPopBeforeSmtp, String newPopHost, String newPopUsername, String newPopPassword)(Code)(Java Doc) public void setSentDate(Date date)(Code)(Java Doc) public void setSmtpPort(int aPortNumber)(Code)(Java Doc) public Email setSubject(String aSubject)(Code)(Java Doc) public Email setTo(Collection aCollection) throws EmailException(Code)(Java Doc) protected InternetAddress[] toInternetAddressArray(List list)(Code)(Java Doc)
|
|
|
|