MCPcopy Create free account

hub / github.com/apache/commons-email / functions

Functions868 in github.com/apache/commons-email

↓ 11 callersMethodcheckSessionAlreadyInitialized
When a mail session is already initialized setting the session properties has no effect. In order to flag the problem throw an IllegalStateException.
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:594
↓ 11 callersMethodcheckSessionAlreadyInitialized
When a mail session is already initialized setting the session properties has no effect. In order to flag the problem throw an IllegalStateException.
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:593
↓ 11 callersMethodcreateMimeMessage
Creates a MimeMessage. @param session the mail session. @param source the input data. @return the MimeMessage. @throws MessagingException creating t
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/util/MimeMessageUtils.java:50
↓ 11 callersMethodcreateMimeMessage
Creates a MimeMessage. @param session the mail session. @param source the input data. @return the MimeMessage. @throws MessagingException creating t
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/util/MimeMessageUtils.java:50
↓ 11 callersMethodencodeUrl
Encodes an input string according to RFC 2392. Unsafe characters are escaped. @param input the input string to be URL encoded @return a URL encoded s
commons-email2-core/src/main/java/org/apache/commons/mail2/core/EmailUtils.java:139
↓ 11 callersMethodgetSubject
Gets the subject of the email. @return email subject
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:982
↓ 11 callersMethodgetSubject
Gets the subject of the email. @return email subject
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:981
↓ 11 callersMethodresolve
{@inheritDoc}
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/resolver/DataSourceUrlResolver.java:93
↓ 11 callersMethodresolve
{@inheritDoc}
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/resolver/DataSourceUrlResolver.java:93
↓ 11 callersMethodsetName
Sets the name. @param aName A String. @since 1.0
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/EmailAttachment.java:132
↓ 11 callersMethodsetName
Sets the name. @param aName A String. @since 1.0
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/EmailAttachment.java:132
↓ 10 callersMethodbuildMimeMessage
Builds the MimeMessage. Please note that a user rarely calls this method directly and only if he/she is interested in the sending the underlying MimeM
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:503
↓ 10 callersMethodbuildMimeMessage
Builds the MimeMessage. Please note that a user rarely calls this method directly and only if he/she is interested in the sending the underlying MimeM
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:502
↓ 10 callersMethodgetContainer
Gets the message container. @return The message container. @since 1.0
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/MultiPartEmail.java:347
↓ 10 callersMethodgetContainer
Gets the message container. @return The message container. @since 1.0
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/MultiPartEmail.java:346
↓ 10 callersMethodreplaceEndOfLineCharactersWithSpaces
Replaces end-of-line characters with spaces. @param input the input string to be scanned. @return a clean string
commons-email2-core/src/main/java/org/apache/commons/mail2/core/EmailUtils.java:305
↓ 10 callersMethodsetDataSourceResolver
Sets the data source resolver. @param dataSourceResolver the resolver
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/ImageHtmlEmail.java:178
↓ 10 callersMethodsetDataSourceResolver
Sets the data source resolver. @param dataSourceResolver the resolver
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/ImageHtmlEmail.java:178
↓ 10 callersMethodsetDescription
Sets the description. @param desc A String. @since 1.0
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/EmailAttachment.java:112
↓ 10 callersMethodsetDescription
Sets the description. @param desc A String. @since 1.0
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/EmailAttachment.java:112
↓ 10 callersMethodtoLower
Converts the given string to lower case. @param value the input string. @return a lower case string.
commons-email2-core/src/main/java/org/apache/commons/mail2/core/EmailUtils.java:315
↓ 9 callersMethodaddHeader
Adds a header ( name, value ) to the headers Map. @param name A String with the name. @param value A String with the value. @throws IllegalArgumentE
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:379
↓ 9 callersMethodaddHeader
Adds a header ( name, value ) to the headers Map. @param name A String with the name. @param value A String with the value. @throws IllegalArgumentE
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:378
↓ 9 callersMethodgetText
Gets the message text. @return the message text. @since 1.6.0
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/HtmlEmail.java:516
↓ 9 callersMethodgetText
Gets the message text. @return the message text. @since 1.6.0
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/HtmlEmail.java:516
↓ 8 callersMethodaddBcc
Adds a blind BCC recipient to the email. The email address will also be used as the personal name. The name will be encoded by the charset of {@link #
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:257
↓ 8 callersMethodaddBcc
Adds a blind BCC recipient to the email. The email address will also be used as the personal name. The name will be encoded by the charset of {@link #
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:256
↓ 8 callersMethodaddCc
Adds a recipient CC to the email. The email address will also be used as the personal name. The name will be encoded by the charset of {@link #setChar
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:319
↓ 8 callersMethodaddCc
Adds a recipient CC to the email. The email address will also be used as the personal name. The name will be encoded by the charset of {@link #setChar
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:318
↓ 8 callersMethodgetCharsetName
Gets the Charset. @return the Charset. @since 1.6.0
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:714
↓ 8 callersMethodgetCharsetName
Gets the Charset. @return the Charset. @since 1.6.0
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:713
↓ 8 callersMethodgetHeader
Gets the specified header. @param header A string with the header. @return The value of the header, or null if no such header. @since 1.5
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:764
↓ 8 callersMethodgetHeader
Gets the specified header. @param header A string with the header. @return The value of the header, or null if no such header. @since 1.5
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:763
↓ 8 callersMethodresolve
Resolves the given resource location to a {@code DataSource}. @param resourceLocation the location of the resource @return the {@code DataSource} @th
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/DataSourceResolver.java:37
↓ 8 callersMethodsetHeaders
Sets the mail headers. Example: X-Mailer: Sendmail, X-Priority: 1( highest ) or 2( high ) 3( normal ) 4( low ) and 5( lowest ) Disposition-Notificati
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:1314
↓ 8 callersMethodsetHeaders
Sets the mail headers. Example: X-Mailer: Sendmail, X-Priority: 1( highest ) or 2( high ) 3( normal ) 4( low ) and 5( lowest ) Disposition-Notificati
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:1313
↓ 7 callersMethodgetHeaders
Gets all headers on an Email. @return a Map of all headers. @since 1.5
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:774
↓ 7 callersMethodgetHeaders
Gets all headers on an Email. @return a Map of all headers. @since 1.5
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:773
↓ 7 callersMethodgetMessage
Gets the message. @return the message. @since 1.6.0
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:862
↓ 7 callersMethodgetMessage
Gets the message. @return the message. @since 1.6.0
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:861
↓ 7 callersMethodgetPasswordAuthentication
Gets the authentication object that will be used to login to the mail server. @return A {@code PasswordAuthentication} object containing the login in
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/DefaultAuthenticator.java:49
↓ 7 callersMethodgetPasswordAuthentication
Gets the authentication object that will be used to login to the mail server. @return A {@code PasswordAuthentication} object containing the login in
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/DefaultAuthenticator.java:49
↓ 7 callersMethodresolve
{@inheritDoc}
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/resolver/DataSourceFileResolver.java:72
↓ 7 callersMethodresolve
{@inheritDoc}
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/resolver/DataSourcePathResolver.java:86
↓ 7 callersMethodresolve
{@inheritDoc}
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/resolver/DataSourceFileResolver.java:72
↓ 7 callersMethodresolve
{@inheritDoc}
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/resolver/DataSourcePathResolver.java:86
↓ 6 callersMethodcheck
Checks that the given file exists and is not a directory. @param file the file to check. @return the given file if it exists and is not a directory.
commons-email2-core/src/main/java/org/apache/commons/mail2/core/EmailUtils.java:102
↓ 6 callersMethodcheckNonNull
Throws an EmailException if the value is null. @param <T> the value type. @param message the exception message. @param value the value to test.
commons-email2-core/src/main/java/org/apache/commons/mail2/core/EmailException.java:102
↓ 6 callersMethodcreateInternetAddress
Creates an InternetAddress. @param email An email address. @param name A name. @param charsetName The name of the charset to encode the
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:631
↓ 6 callersMethodcreateInternetAddress
Creates an InternetAddress. @param email An email address. @param name A name. @param charsetName The name of the charset to encode the
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:630
↓ 6 callersMethodfindAttachmentByName
Find an attachment using its name. @param name the name of the attachment @return the corresponding datasource or null if nothing was found
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/util/MimeMessageParser.java:123
↓ 6 callersMethodfindAttachmentByName
Find an attachment using its name. @param name the name of the attachment @return the corresponding datasource or null if nothing was found
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/util/MimeMessageParser.java:123
↓ 6 callersMethodgetReplyToAddresses
Gets the list of "Reply-To" addresses. @return List addresses
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:910
↓ 6 callersMethodgetReplyToAddresses
Gets the list of "Reply-To" addresses. @return List addresses
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:909
↓ 6 callersMethodisMailServerStopped
Checks if an email server is running at the address stored in the {@code fakeMailServer}. @param fakeMailServer The server from which the address is
commons-email2-jakarta/src/test/java/org/apache/commons/mail2/jakarta/AbstractEmailTest.java:227
↓ 6 callersMethodisMailServerStopped
Checks if an email server is running at the address stored in the {@code fakeMailServer}. @param fakeMailServer The server from which the address is
commons-email2-javax/src/test/java/org/apache/commons/mail2/javax/AbstractEmailTest.java:228
↓ 6 callersMethodsetMailSession
Sets a mail Session object to use. Please note that passing a user name and password (in the case of mail authentication) will create a new mail sessi
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:1344
↓ 6 callersMethodsetMailSession
Sets a mail Session object to use. Please note that passing a user name and password (in the case of mail authentication) will create a new mail sessi
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:1343
↓ 5 callersMethodaddReplyTo
Adds a reply to address to the email. The email address will also be used as the personal name. The name will be encoded by the charset of {@link #set
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:399
↓ 5 callersMethodaddReplyTo
Adds a reply to address to the email. The email address will also be used as the personal name. The name will be encoded by the charset of {@link #set
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:398
↓ 5 callersMethodcreateBodyPart
Creates a body part object. Can be overridden if you don't want to create a BodyPart. @return the created body part
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/MultiPartEmail.java:328
↓ 5 callersMethodcreateBodyPart
Creates a body part object. Can be overridden if you don't want to create a BodyPart. @return the created body part
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/MultiPartEmail.java:327
↓ 5 callersMethodgetDataSource
Returns the {@code DataSource} that represents the encoded content. @return the {@code DataSource} representing the encoded content
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/HtmlEmail.java:139
↓ 5 callersMethodgetDataSource
Returns the {@code DataSource} that represents the encoded content. @return the {@code DataSource} representing the encoded content
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/HtmlEmail.java:139
↓ 5 callersMethodgetDisposition
Gets the disposition. @return A String. @since 1.0
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/EmailAttachment.java:72
↓ 5 callersMethodgetDisposition
Gets the disposition. @return A String. @since 1.0
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/EmailAttachment.java:72
↓ 5 callersMethodgetInputStream
Gets an InputStream representing the data and will throw an IOException if it cannot do so. This method will return a new instance of InputStream with
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/activation/PathDataSource.java:108
↓ 5 callersMethodgetInputStream
Gets an InputStream representing the data and will throw an IOException if it cannot do so. This method will return a new instance of InputStream with
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/activation/PathDataSource.java:108
↓ 5 callersMethodgetPrimaryBodyPart
Gets first body part of the message. @return The primary body part. @throws MessagingException An error occurred while getting the primary body part.
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/MultiPartEmail.java:361
↓ 5 callersMethodgetPrimaryBodyPart
Gets first body part of the message. @return The primary body part. @throws MessagingException An error occurred while getting the primary body part.
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/MultiPartEmail.java:360
↓ 5 callersMethodisBoolHasAttachments
Tests whether there are attachments. @return true if there are attachments @since 1.0
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/MultiPartEmail.java:403
↓ 5 callersMethodisBoolHasAttachments
Tests whether there are attachments. @return true if there are attachments @since 1.0
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/MultiPartEmail.java:402
↓ 5 callersMethodisLenient
Tests whether to ignore resources not found or throw an exception. @return the lenient flag.
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/resolver/DataSourceBaseResolver.java:82
↓ 5 callersMethodisLenient
Tests whether to ignore resources not found or throw an exception. @return the lenient flag.
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/resolver/DataSourceBaseResolver.java:82
↓ 5 callersMethodsetBounceAddress
Sets the "bounce address" - the address to which undeliverable messages will be returned. If this value is never set, then the message will be sent to
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:1148
↓ 5 callersMethodsetBounceAddress
Sets the "bounce address" - the address to which undeliverable messages will be returned. If this value is never set, then the message will be sent to
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:1147
↓ 5 callersMethodsetSubType
Sets the MIME subtype of the email. @param subType MIME subtype of the email @since 1.0
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/MultiPartEmail.java:465
↓ 5 callersMethodsetSubType
Sets the MIME subtype of the email. @param subType MIME subtype of the email @since 1.0
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/MultiPartEmail.java:464
↓ 5 callersMethodsetURL
Sets the URL. @param aUrl A URL. @since 1.0
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/EmailAttachment.java:155
↓ 5 callersMethodsetURL
Sets the URL. @param aUrl A URL. @since 1.0
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/EmailAttachment.java:155
↓ 4 callersMethodaddPart
Adds a new part to the email. @param multipart The MimeMultipart. @return An Email. @throws EmailException see jakarta.mail.internet.MimeBodyPart for
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/MultiPartEmail.java:87
↓ 4 callersMethodaddPart
Adds a new part to the email. @param multipart The MimeMultipart. @return An Email. @throws EmailException see javax.mail.internet.MimeBodyPart for d
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/MultiPartEmail.java:87
↓ 4 callersMethodbuildMimeMessage
Builds the MimeMessage. Please note that a user rarely calls this method directly and only if he/she is interested in the sending the underlying MimeM
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/HtmlEmail.java:284
↓ 4 callersMethodbuildMimeMessage
Builds the MimeMessage. Please note that a user rarely calls this method directly and only if he/she is interested in the sending the underlying MimeM
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/HtmlEmail.java:284
↓ 4 callersMethodcreateInvalidURL
Create a mocked URL object which always throws an IOException when the openStream() method is called. <p> Several ISPs do resolve invalid URLs like {@
commons-email2-jakarta/src/test/java/org/apache/commons/mail2/jakarta/AbstractEmailTest.java:109
↓ 4 callersMethodcreateInvalidURL
Create a mocked URL object which always throws an IOException when the openStream() method is called. <p> Several ISPs do resolve invalid URLs like {@
commons-email2-javax/src/test/java/org/apache/commons/mail2/javax/AbstractEmailTest.java:109
↓ 4 callersMethodequals
(final Object obj)
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/HtmlEmail.java:113
↓ 4 callersMethodequals
(final Object obj)
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/HtmlEmail.java:113
↓ 4 callersMethodgetBounceAddress
Gets the "bounce address" of this email. @return the bounce address as string @since 1.4
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:695
↓ 4 callersMethodgetBounceAddress
Gets the "bounce address" of this email. @return the bounce address as string @since 1.4
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:694
↓ 4 callersMethodgetContentType
Gets the MIME type of the data as a String. This method uses the currently installed FileTypeMap. If there is no FileTypeMap explicitly set, the FileD
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/activation/PathDataSource.java:97
↓ 4 callersMethodgetContentType
Gets the MIME type of the data as a String. This method uses the currently installed FileTypeMap. If there is no FileTypeMap explicitly set, the FileD
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/activation/PathDataSource.java:97
↓ 4 callersMethodgetMailSession
Gets the mail session used when sending this Email, creating the Session if necessary. When a mail session is already initialized setting the session
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:801
↓ 4 callersMethodgetMailSession
Gets the mail session used when sending this Email, creating the Session if necessary. When a mail session is already initialized setting the session
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:800
↓ 4 callersMethodgetSentDate
Gets the sent date for the email. @return date to be used as the sent date for the email @since 1.0
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:920
↓ 4 callersMethodgetSentDate
Gets the sent date for the email. @return date to be used as the sent date for the email @since 1.0
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:919
↓ 4 callersMethodgetURL
Gets the URL. @return A URL. @since 1.0
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/EmailAttachment.java:102
↓ 4 callersMethodgetURL
Gets the URL. @return A URL. @since 1.0
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/EmailAttachment.java:102
↓ 4 callersMethodinit
Initialize the multipart email. @since 1.0
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/MultiPartEmail.java:388
↓ 4 callersMethodinit
Initialize the multipart email. @since 1.0
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/MultiPartEmail.java:387
← previousnext →101–200 of 868, ranked by callers