A B D E F G H I M O S T V

A

ARR_VALID_EMAILS - Static variable in class org.apache.commons.mail.EmailTest
valid email addresses

B

BaseEmailTestCase - Class in org.apache.commons.mail
Base test case for Email test classes
BaseEmailTestCase(String) - Constructor for class org.apache.commons.mail.BaseEmailTestCase
 
BODY_END_PAD - Static variable in class org.apache.commons.mail.BaseEmailTestCase
Padding at end of body added by wiser/send
BODY_START_PAD - Static variable in class org.apache.commons.mail.BaseEmailTestCase
Padding at start of body added by wiser/send

D

DefaultAuthenticatorTest - Class in org.apache.commons.mail
JUnit test case for DefaultAuthenticator Class
DefaultAuthenticatorTest(String) - Constructor for class org.apache.commons.mail.DefaultAuthenticatorTest
 

E

EmailAttachmentTest - Class in org.apache.commons.mail
JUnit test case for EmailAttachment Class
EmailAttachmentTest(String) - Constructor for class org.apache.commons.mail.EmailAttachmentTest
 
EmailConfiguration - Class in org.apache.commons.mail.settings
 
EmailConfiguration() - Constructor for class org.apache.commons.mail.settings.EmailConfiguration
 
EmailTest - Class in org.apache.commons.mail
JUnit test case for Email Class
EmailTest(String) - Constructor for class org.apache.commons.mail.EmailTest
 

F

fakeMailServer - Variable in class org.apache.commons.mail.BaseEmailTestCase
The fake Wiser email server

G

getAuthenticator() - Method in class org.apache.commons.mail.mocks.MockEmailConcrete
Retrieve the current authentication setting
getBccList() - Method in class org.apache.commons.mail.mocks.MockEmailConcrete
 
getBccList() - Method in class org.apache.commons.mail.mocks.MockHtmlEmailConcrete
 
getBccList() - Method in class org.apache.commons.mail.mocks.MockMultiPartEmailConcrete
 
getBccList() - Method in class org.apache.commons.mail.mocks.MockSimpleEmail
 
getCcList() - Method in class org.apache.commons.mail.mocks.MockEmailConcrete
 
getCcList() - Method in class org.apache.commons.mail.mocks.MockHtmlEmailConcrete
 
getCcList() - Method in class org.apache.commons.mail.mocks.MockMultiPartEmailConcrete
 
getCcList() - Method in class org.apache.commons.mail.mocks.MockSimpleEmail
 
getCharset() - Method in class org.apache.commons.mail.mocks.MockEmailConcrete
 
getContentMimeMultipart() - Method in class org.apache.commons.mail.mocks.MockEmailConcrete
 
getContentObject() - Method in class org.apache.commons.mail.mocks.MockEmailConcrete
 
getContentType() - Method in class org.apache.commons.mail.mocks.MockEmailConcrete
 
getEmailBody() - Method in class org.apache.commons.mail.mocks.MockEmailConcrete
 
getFromAddress() - Method in class org.apache.commons.mail.mocks.MockEmailConcrete
 
getFromAddress() - Method in class org.apache.commons.mail.mocks.MockHtmlEmailConcrete
 
getFromAddress() - Method in class org.apache.commons.mail.mocks.MockMultiPartEmailConcrete
 
getFromAddress() - Method in class org.apache.commons.mail.mocks.MockSimpleEmail
 
getHeaders() - Method in class org.apache.commons.mail.mocks.MockEmailConcrete
 
getHostName() - Method in class org.apache.commons.mail.mocks.MockEmailConcrete
 
getHtmlMsg() - Method in class org.apache.commons.mail.mocks.MockHtmlEmailConcrete
Retrieve the html msg
getInlineEmbeds() - Method in class org.apache.commons.mail.mocks.MockHtmlEmailConcrete
 
getInlineImages() - Method in class org.apache.commons.mail.mocks.MockHtmlEmailConcrete
Deprecated. as of commons-email 1.1, replaced by MockHtmlEmailConcrete.getInlineEmbeds().
getMailServer() - Method in class org.apache.commons.mail.BaseEmailTestCase
Initializes the stub mail server.
getMailServerPort() - Method in class org.apache.commons.mail.BaseEmailTestCase
Gets the mail server port.
getMessage() - Method in class org.apache.commons.mail.mocks.MockEmailConcrete
 
getMessageAsString(int) - Method in class org.apache.commons.mail.BaseEmailTestCase
 
getMsg() - Method in class org.apache.commons.mail.mocks.MockHtmlEmailConcrete
Retrieve the message content
getMsg() - Method in class org.apache.commons.mail.mocks.MockMultiPartEmailConcrete
Retrieve the message content
getMsg() - Method in class org.apache.commons.mail.mocks.MockSimpleEmail
Retrieve the message content
getPopHost() - Method in class org.apache.commons.mail.mocks.MockEmailConcrete
 
getPopPassword() - Method in class org.apache.commons.mail.mocks.MockEmailConcrete
 
getPopUsername() - Method in class org.apache.commons.mail.mocks.MockEmailConcrete
 
getReplyList() - Method in class org.apache.commons.mail.mocks.MockEmailConcrete
 
getSession() - Method in class org.apache.commons.mail.mocks.MockEmailConcrete
 
getSmtpPort() - Method in class org.apache.commons.mail.mocks.MockEmailConcrete
 
getSubject() - Method in class org.apache.commons.mail.mocks.MockEmailConcrete
 
getTextMsg() - Method in class org.apache.commons.mail.mocks.MockHtmlEmailConcrete
Retrieve the text msg
getToList() - Method in class org.apache.commons.mail.mocks.MockEmailConcrete
 
getToList() - Method in class org.apache.commons.mail.mocks.MockHtmlEmailConcrete
 
getToList() - Method in class org.apache.commons.mail.mocks.MockMultiPartEmailConcrete
 
getToList() - Method in class org.apache.commons.mail.mocks.MockSimpleEmail
 

H

HtmlEmailTest - Class in org.apache.commons.mail
JUnit test case for HtmlEmail Class
HtmlEmailTest(String) - Constructor for class org.apache.commons.mail.HtmlEmailTest
 

I

initTest() - Method in class org.apache.commons.mail.mocks.MockMultiPartEmailConcrete
 
InvalidAddressTest - Class in org.apache.commons.mail
JUnit test case for invalid Addresses in Email Class
InvalidAddressTest(String) - Constructor for class org.apache.commons.mail.InvalidAddressTest
 
InvalidInternetAddressTest - Class in org.apache.commons.mail
JUnit test case demonstrating InternetAddress validation.
InvalidInternetAddressTest(String) - Constructor for class org.apache.commons.mail.InvalidInternetAddressTest
 
isDebug() - Method in class org.apache.commons.mail.mocks.MockEmailConcrete
Retrieve the current debug setting
isMailServerStopped(Wiser) - Method in class org.apache.commons.mail.BaseEmailTestCase
Checks if an email server is running at the address stored in the fakeMailServer.
isPopBeforeSmtp() - Method in class org.apache.commons.mail.mocks.MockEmailConcrete
 

M

MAIL_SERVER - Static variable in class org.apache.commons.mail.settings.EmailConfiguration
 
MAIL_SERVER_PORT - Static variable in class org.apache.commons.mail.settings.EmailConfiguration
 
MockEmailConcrete - Class in org.apache.commons.mail.mocks
Concrete Implementation on the Abstract Email Class (used to allow testing only).
MockEmailConcrete() - Constructor for class org.apache.commons.mail.mocks.MockEmailConcrete
 
MockHtmlEmailConcrete - Class in org.apache.commons.mail.mocks
Extension of the HtmlEmail Class (used to allow testing only)
MockHtmlEmailConcrete() - Constructor for class org.apache.commons.mail.mocks.MockHtmlEmailConcrete
 
MockMultiPartEmailConcrete - Class in org.apache.commons.mail.mocks
Extension of MultiPartEmail Class (used to allow testing only)
MockMultiPartEmailConcrete() - Constructor for class org.apache.commons.mail.mocks.MockMultiPartEmailConcrete
 
MockSimpleEmail - Class in org.apache.commons.mail.mocks
Extension of SimpleEmail Class (used to allow testing only)
MockSimpleEmail() - Constructor for class org.apache.commons.mail.mocks.MockSimpleEmail
 
MultiPartEmailTest - Class in org.apache.commons.mail
JUnit test case for MultiPartEmail Class
MultiPartEmailTest(String) - Constructor for class org.apache.commons.mail.MultiPartEmailTest
 

O

org.apache.commons.mail - package org.apache.commons.mail
This package provides the JUnit tests.
org.apache.commons.mail.mocks - package org.apache.commons.mail.mocks
This package provides mock email implementations for testing.
org.apache.commons.mail.settings - package org.apache.commons.mail.settings
This package provides the test mail server configuration.

S

saveEmailToFile(WiserMessage) - Method in class org.apache.commons.mail.BaseEmailTestCase
 
SendWithAttachmentsTest - Class in org.apache.commons.mail
JUnit test case verifying bugzilla issue 30973 is fixed.
SendWithAttachmentsTest(String) - Constructor for class org.apache.commons.mail.SendWithAttachmentsTest
 
setMsg(String) - Method in class org.apache.commons.mail.mocks.MockEmailConcrete
Not Implemented, should be implemented in subclasses of Email
setUp() - Method in class org.apache.commons.mail.EmailAttachmentTest
 
setUp() - Method in class org.apache.commons.mail.EmailTest
 
setUp() - Method in class org.apache.commons.mail.HtmlEmailTest
 
setUp() - Method in class org.apache.commons.mail.InvalidAddressTest
 
setUp() - Method in class org.apache.commons.mail.InvalidInternetAddressTest
Setup for a test
setUp() - Method in class org.apache.commons.mail.MultiPartEmailTest
 
setUp() - Method in class org.apache.commons.mail.SendWithAttachmentsTest
 
setUp() - Method in class org.apache.commons.mail.SimpleEmailTest
 
SimpleEmailTest - Class in org.apache.commons.mail
JUnit test case for SimpleEmailTest
SimpleEmailTest(String) - Constructor for class org.apache.commons.mail.SimpleEmailTest
 
strTestMailFrom - Variable in class org.apache.commons.mail.BaseEmailTestCase
From address for the test email
strTestMailServer - Variable in class org.apache.commons.mail.BaseEmailTestCase
Mail server used for testing
strTestMailTo - Variable in class org.apache.commons.mail.BaseEmailTestCase
Destination address for the test email
strTestPasswd - Variable in class org.apache.commons.mail.BaseEmailTestCase
Mailserver strTestPasswd (set if needed)
strTestURL - Variable in class org.apache.commons.mail.BaseEmailTestCase
URL to used to test URL attachmetns (Must be valid)
strTestUser - Variable in class org.apache.commons.mail.BaseEmailTestCase
Mailserver username (set if needed)

T

tearDown() - Method in class org.apache.commons.mail.BaseEmailTestCase
 
TEST_FROM - Static variable in class org.apache.commons.mail.settings.EmailConfiguration
 
TEST_PASSWD - Static variable in class org.apache.commons.mail.settings.EmailConfiguration
 
TEST_TO - Static variable in class org.apache.commons.mail.settings.EmailConfiguration
 
TEST_URL - Static variable in class org.apache.commons.mail.settings.EmailConfiguration
 
TEST_USER - Static variable in class org.apache.commons.mail.settings.EmailConfiguration
 
testAddBcc() - Method in class org.apache.commons.mail.EmailTest
 
testAddBcc2() - Method in class org.apache.commons.mail.EmailTest
 
testAddBccWithEncoding() - Method in class org.apache.commons.mail.EmailTest
 
testAddCc() - Method in class org.apache.commons.mail.EmailTest
 
testAddCc2() - Method in class org.apache.commons.mail.EmailTest
 
testAddCcWithEncoding() - Method in class org.apache.commons.mail.EmailTest
 
testAddHeader() - Method in class org.apache.commons.mail.EmailTest
 
testAddHeaderEx() - Method in class org.apache.commons.mail.EmailTest
 
testAddInvalidBcc() - Method in class org.apache.commons.mail.InvalidAddressTest
 
testAddInvalidCc() - Method in class org.apache.commons.mail.InvalidAddressTest
 
testAddInvalidTo() - Method in class org.apache.commons.mail.InvalidAddressTest
 
testAddPart() - Method in class org.apache.commons.mail.MultiPartEmailTest
 
testAddPart2() - Method in class org.apache.commons.mail.MultiPartEmailTest
 
testAddReplyTo() - Method in class org.apache.commons.mail.EmailTest
 
testAddReplyTo2() - Method in class org.apache.commons.mail.EmailTest
 
testAddReplyToWithEncoding() - Method in class org.apache.commons.mail.EmailTest
 
testAddTo() - Method in class org.apache.commons.mail.EmailTest
 
testAddTo2() - Method in class org.apache.commons.mail.EmailTest
 
testAddToWithEncoding() - Method in class org.apache.commons.mail.EmailTest
 
testAttach() - Method in class org.apache.commons.mail.MultiPartEmailTest
 
testAttach2() - Method in class org.apache.commons.mail.MultiPartEmailTest
 
testAttach3() - Method in class org.apache.commons.mail.MultiPartEmailTest
 
testCharsNotValid - Variable in class org.apache.commons.mail.BaseEmailTestCase
Array of test strings
testCharsValid - Variable in class org.apache.commons.mail.BaseEmailTestCase
Test characters acceptable to email
testDefaultAuthenticatorConstructor() - Method in class org.apache.commons.mail.DefaultAuthenticatorTest
 
testDefaultCharsetAppliesToTextContent() - Method in class org.apache.commons.mail.EmailTest
Test: When Email.setCharset() is called, a subsequent setContent() should use that charset for text content types unless overridden by the contentType parameter.
testDefaultCharsetCanBeOverriddenByContentType() - Method in class org.apache.commons.mail.EmailTest
Case 2: A default charset is overridden by an explicitly specified charset in setContent().
testDefaultCharsetIgnoredByNonTextContent() - Method in class org.apache.commons.mail.EmailTest
Case 3: A non-text content object ignores a default charset entirely.
testEmbedDataSource() - Method in class org.apache.commons.mail.HtmlEmailTest
 
testEmbedFile() - Method in class org.apache.commons.mail.HtmlEmailTest
 
testEmbedUrl() - Method in class org.apache.commons.mail.HtmlEmailTest
 
testEmbedUrlAndFile() - Method in class org.apache.commons.mail.HtmlEmailTest
 
testGetContainer() - Method in class org.apache.commons.mail.MultiPartEmailTest
 
testGetSetAuthentication() - Method in class org.apache.commons.mail.EmailTest
 
testGetSetAuthenticator() - Method in class org.apache.commons.mail.EmailTest
 
testGetSetCharset() - Method in class org.apache.commons.mail.EmailTest
 
testGetSetDebug() - Method in class org.apache.commons.mail.EmailTest
 
testGetSetDescription() - Method in class org.apache.commons.mail.EmailAttachmentTest
 
testGetSetDisposition() - Method in class org.apache.commons.mail.EmailAttachmentTest
 
testGetSetHostName() - Method in class org.apache.commons.mail.EmailTest
 
testGetSetHtmlMsg() - Method in class org.apache.commons.mail.HtmlEmailTest
 
testGetSetMsg() - Method in class org.apache.commons.mail.HtmlEmailTest
 
testGetSetMsg() - Method in class org.apache.commons.mail.SimpleEmailTest
 
testGetSetName() - Method in class org.apache.commons.mail.EmailAttachmentTest
 
testGetSetPath() - Method in class org.apache.commons.mail.EmailAttachmentTest
 
testGetSetSentDate() - Method in class org.apache.commons.mail.EmailTest
 
testGetSetSession() - Method in class org.apache.commons.mail.EmailTest
 
testGetSetSmtpPort() - Method in class org.apache.commons.mail.EmailTest
 
testGetSetSubType() - Method in class org.apache.commons.mail.MultiPartEmailTest
test get/set sub type
testGetSetTextMsg() - Method in class org.apache.commons.mail.HtmlEmailTest
 
testGetSetURL() - Method in class org.apache.commons.mail.EmailAttachmentTest
 
testInit() - Method in class org.apache.commons.mail.MultiPartEmailTest
init called twice should fail
testSend() - Method in class org.apache.commons.mail.HtmlEmailTest
 
testSend() - Method in class org.apache.commons.mail.MultiPartEmailTest
 
testSend() - Method in class org.apache.commons.mail.SimpleEmailTest
 
testSend2() - Method in class org.apache.commons.mail.HtmlEmailTest
 
testSendEx() - Method in class org.apache.commons.mail.EmailTest
 
testSendNoAttachments() - Method in class org.apache.commons.mail.SendWithAttachmentsTest
 
testSendWAttachments() - Method in class org.apache.commons.mail.SendWithAttachmentsTest
 
testSetBcc() - Method in class org.apache.commons.mail.EmailTest
 
testSetCc() - Method in class org.apache.commons.mail.EmailTest
 
testSetContentMimeMultipart() - Method in class org.apache.commons.mail.EmailTest
 
testSetContentObject() - Method in class org.apache.commons.mail.EmailTest
 
testSetFrom() - Method in class org.apache.commons.mail.EmailTest
 
testSetFrom2() - Method in class org.apache.commons.mail.EmailTest
 
testSetFromWithEncoding() - Method in class org.apache.commons.mail.EmailTest
 
testSetHeaders() - Method in class org.apache.commons.mail.EmailTest
 
testSetHeadersEx() - Method in class org.apache.commons.mail.EmailTest
 
testSetInvalidFrom() - Method in class org.apache.commons.mail.InvalidAddressTest
 
testSetMsg() - Method in class org.apache.commons.mail.MultiPartEmailTest
 
testSetPopBeforeSmtp() - Method in class org.apache.commons.mail.EmailTest
 
testSetSubject() - Method in class org.apache.commons.mail.EmailTest
 
testSetTo() - Method in class org.apache.commons.mail.EmailTest
 
testStrictConstructor() - Method in class org.apache.commons.mail.InvalidInternetAddressTest
 
testToInternetAddressArray() - Method in class org.apache.commons.mail.EmailTest
 
testValidateMethod() - Method in class org.apache.commons.mail.InvalidInternetAddressTest
 
testValidateMethodCharset() - Method in class org.apache.commons.mail.InvalidInternetAddressTest
 
TIME_OUT - Static variable in class org.apache.commons.mail.settings.EmailConfiguration
Amount of time to wait for Dumbster to start up

V

validateSend(Wiser, String, InternetAddress, List, List, List, boolean) - Method in class org.apache.commons.mail.BaseEmailTestCase
Validate the message was sent properly
validateSend(Wiser, String, Multipart, InternetAddress, List, List, List, boolean) - Method in class org.apache.commons.mail.BaseEmailTestCase
Validate the message was sent properly
validateSend(Wiser, String, String, InternetAddress, List, List, List, boolean) - Method in class org.apache.commons.mail.BaseEmailTestCase
Validate the message was sent properly

A B D E F G H I M O S T V

Copyright © 2001-2010 Apache Software Foundation. All Rights Reserved.