MCPcopy Create free account

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

Functions868 in github.com/apache/commons-email

↓ 65 callersMethodtoString
(final String email, final Function<String, String> converter)
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/util/IDNEmailAddressConverter.java:75
↓ 63 callersMethodtoString
(final String email, final Function<String, String> converter)
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/util/IDNEmailAddressConverter.java:75
↓ 58 callersMethodsetSubject
Sets the email subject. Replaces end-of-line characters with spaces. @param aSubject A String. @return An Email. @since 1.0
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:1650
↓ 58 callersMethodsetSubject
Sets the email subject. Replaces end-of-line characters with spaces. @param aSubject A String. @return An Email. @since 1.0
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:1649
↓ 48 callersMethodisEmpty
Tests whether the given collection is null or empty. @param collection the collection to test. @return whether the given collection is null or empty.
commons-email2-core/src/main/java/org/apache/commons/mail2/core/EmailUtils.java:165
↓ 45 callersMethodaddTo
Adds a recipient TO 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:443
↓ 45 callersMethodaddTo
Adds a recipient TO 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:442
↓ 42 callersMethodsetFrom
Sets the FROM field of the email to use the specified address. The email address will also be used as the personal name. The name will be encoded by t
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:1258
↓ 42 callersMethodsetFrom
Sets the FROM field of the email to use the specified address. The email address will also be used as the personal name. The name will be encoded by t
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:1257
↓ 38 callersMethodisNotEmpty
Checks if a String is not empty ("") and not null. <p> Copied from Commons Lang 2.1, svn 240418 </p> @param str the String to check, may be null @ret
commons-email2-core/src/main/java/org/apache/commons/mail2/core/EmailUtils.java:211
↓ 38 callersMethodsetSmtpPort
Sets the non-SSL port number of the outgoing mail server. @param portNumber aPortNumber @throws IllegalArgumentException if the port number is &lt; 1
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:1534
↓ 38 callersMethodsetSmtpPort
Sets the non-SSL port number of the outgoing mail server. @param portNumber aPortNumber @throws IllegalArgumentException if the port number is &lt; 1
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:1533
↓ 36 callersMethodsend
(final Email email)
commons-email2-jakarta/src/test/java/org/apache/commons/mail2/jakarta/EmailLiveTest.java:86
↓ 36 callersMethodsend
(final Email email)
commons-email2-javax/src/test/java/org/apache/commons/mail2/javax/EmailLiveTest.java:86
↓ 36 callersMethodsetHostName
Sets the hostname of the outgoing mail server. @param hostName aHostName @throws IllegalStateException if the mail session is already initialized @si
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:1328
↓ 36 callersMethodsetHostName
Sets the hostname of the outgoing mail server. @param hostName aHostName @throws IllegalStateException if the mail session is already initialized @si
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:1327
↓ 34 callersMethodgetMailServerPort
Gets the mail server port. @return the port the server is running on.
commons-email2-jakarta/src/test/java/org/apache/commons/mail2/jakarta/AbstractEmailTest.java:150
↓ 34 callersMethodgetMailServerPort
Gets the mail server port. @return the port the server is running on.
commons-email2-javax/src/test/java/org/apache/commons/mail2/javax/AbstractEmailTest.java:151
↓ 33 callersMethodgetBccAddresses
Gets the list of "Bcc" addresses. @return List addresses
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:685
↓ 33 callersMethodgetBccAddresses
Gets the list of "Bcc" addresses. @return List addresses
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:684
↓ 33 callersMethodgetToAddresses
Gets the list of "To" addresses. @return List addresses
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:991
↓ 33 callersMethodgetToAddresses
Gets the list of "To" addresses. @return List addresses
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:990
↓ 33 callersMethodisEmpty
(final Object[] array)
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/util/MimeMessageParser.java:309
↓ 33 callersMethodisEmpty
(final Object[] array)
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/util/MimeMessageParser.java:309
↓ 32 callersMethodgetCcAddresses
Gets the list of "CC" addresses. @return List addresses
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:704
↓ 32 callersMethodgetCcAddresses
Gets the list of "CC" addresses. @return List addresses
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:703
↓ 32 callersMethodgetMimeMessage
Gets the internal MimeMessage. Please note that the MimeMessage is built by the buildMimeMessage() method. @return the MimeMessage
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:871
↓ 32 callersMethodgetMimeMessage
Gets the internal MimeMessage. Please note that the MimeMessage is built by the buildMimeMessage() method. @return the MimeMessage
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:870
↓ 30 callersMethodattach
Attaches a file specified as a DataSource interface. @param dataSource A DataSource interface for the file. @param name The name field for th
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/MultiPartEmail.java:147
↓ 30 callersMethodattach
Attaches a file specified as a DataSource interface. @param dataSource A DataSource interface for the file. @param name The name field for th
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/MultiPartEmail.java:147
↓ 30 callersMethodcheckNonEmpty
Throws an EmailException if the collection is empty. @param <T> the type of elements in the collection. @param value the value to test. @param
commons-email2-core/src/main/java/org/apache/commons/mail2/core/EmailException.java:64
↓ 30 callersMethodgetName
Gets the name. @return A String. @since 1.0
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/EmailAttachment.java:82
↓ 30 callersMethodgetName
Gets the name. @return A String. @since 1.0
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/EmailAttachment.java:82
↓ 28 callersMethodgetMailServer
Initializes the stub mail server. Fails if the server cannot be proven to have started. If the server is already started, this method returns without
commons-email2-jakarta/src/test/java/org/apache/commons/mail2/jakarta/AbstractEmailTest.java:121
↓ 28 callersMethodgetMailServer
Initializes the stub mail server. Fails if the server cannot be proven to have started. If the server is already started, this method returns without
commons-email2-javax/src/test/java/org/apache/commons/mail2/javax/AbstractEmailTest.java:121
↓ 27 callersMethodsetHtmlMsg
Sets the HTML content. @param html A String. @return An HtmlEmail. @throws EmailException see jakarta.mail.internet.MimeBodyPart for definitions @sin
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/HtmlEmail.java:528
↓ 27 callersMethodsetHtmlMsg
Sets the HTML content. @param html A String. @return An HtmlEmail. @throws EmailException see javax.mail.internet.MimeBodyPart for definitions @since
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/HtmlEmail.java:528
↓ 26 callersMethodgetFromAddress
Gets the sender of the email. @return from address
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:753
↓ 26 callersMethodgetFromAddress
Gets the sender of the email. @return from address
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:752
↓ 25 callersMethodtoByteArray
(final DataSource dataSource)
commons-email2-jakarta/src/test/java/org/apache/commons/mail2/jakarta/resolver/AbstractDataSourceResolverTest.java:30
↓ 25 callersMethodtoByteArray
(final DataSource dataSource)
commons-email2-javax/src/test/java/org/apache/commons/mail2/javax/resolver/AbstractDataSourceResolverTest.java:30
↓ 23 callersMethodvalidateSend
Validate the message was sent properly @param mailServer reference to the fake mail server @param strSubject expected subject @param fromAdd
commons-email2-jakarta/src/test/java/org/apache/commons/mail2/jakarta/AbstractEmailTest.java:319
↓ 23 callersMethodvalidateSend
Validate the message was sent properly @param mailServer reference to the fake mail server @param strSubject expected subject @param fromAdd
commons-email2-javax/src/test/java/org/apache/commons/mail2/javax/AbstractEmailTest.java:320
↓ 22 callersMethodembed
Embeds the specified {@code DataSource} in the HTML using a randomly generated Content-ID. Returns the generated Content-ID string. @param dataSource
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/HtmlEmail.java:304
↓ 22 callersMethodembed
Embeds the specified {@code DataSource} in the HTML using a randomly generated Content-ID. Returns the generated Content-ID string. @param dataSource
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/HtmlEmail.java:304
↓ 22 callersMethodgetContentType
Gets the content type. @return the content type. @since 1.6.0
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:734
↓ 22 callersMethodgetContentType
Gets the content type. @return the content type. @since 1.6.0
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:733
↓ 22 callersMethodsetContent
Sets the emailBody to a MimeMultiPart @param mimeMultipart aMimeMultipart @since 1.0
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:1198
↓ 22 callersMethodsetContent
Sets the emailBody to a MimeMultiPart @param mimeMultipart aMimeMultipart @since 1.0
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:1197
↓ 20 callersMethodgetHtmlContent
Gets the htmlContent if any. @return the htmlContent if any
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/util/MimeMessageParser.java:226
↓ 20 callersMethodgetHtmlContent
Gets the htmlContent if any. @return the htmlContent if any
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/util/MimeMessageParser.java:226
↓ 20 callersMethodparse
Does the actual extraction. @return {@code this} instance @throws MessagingException parsing the mime message failed @throws IOException parsi
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/util/MimeMessageParser.java:351
↓ 20 callersMethodparse
Does the actual extraction. @return {@code this} instance @throws MessagingException parsing the mime message failed @throws IOException parsi
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/util/MimeMessageParser.java:351
↓ 18 callersMethodsetTextMsg
Sets the text content. @param text A String. @return An HtmlEmail. @throws EmailException see jakarta.mail.internet.MimeBodyPart for definitions @sin
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/HtmlEmail.java:563
↓ 18 callersMethodsetTextMsg
Sets the text content. @param text A String. @return An HtmlEmail. @throws EmailException see javax.mail.internet.MimeBodyPart for definitions @since
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/HtmlEmail.java:563
↓ 17 callersMethodwriteMimeMessage
Writes a MimeMessage into a file. @param mimeMessage the MimeMessage to write. @param resultFile the file containing the MimeMessage. @throws Messag
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/util/MimeMessageUtils.java:119
↓ 17 callersMethodwriteMimeMessage
Writes a MimeMessage into a file. @param mimeMessage the MimeMessage to write. @param resultFile the file containing the MimeMessage. @throws Messag
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/util/MimeMessageUtils.java:119
↓ 16 callersMethodgetAttachmentList
Gets the attachment list. @return the attachment list.
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/util/MimeMessageParser.java:137
↓ 16 callersMethodgetAttachmentList
Gets the attachment list. @return the attachment list.
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/util/MimeMessageParser.java:137
↓ 16 callersMethodresolve
Resolves the given resource location to a {@code DataSource}. @param resourceLocation the location of the resource @return the {@code DataSource} @th
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/DataSourceResolver.java:37
↓ 16 callersMethodsetCharset
Sets the charset of the message. Please note that you should set the charset before adding the message content. @param charset A String. @throws java
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:1187
↓ 16 callersMethodsetCharset
Sets the charset of the message. Please note that you should set the charset before adding the message content. @param charset A String. @throws java
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:1186
↓ 16 callersMethodtoASCII
Converts an email address to its ASCII representation using "Punycode". @param email email address. @return The ASCII representation @throws IllegalA
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/util/IDNEmailAddressConverter.java:71
↓ 16 callersMethodtoASCII
Converts an email address to its ASCII representation using "Punycode". @param email email address. @return The ASCII representation @throws IllegalA
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/util/IDNEmailAddressConverter.java:71
↓ 15 callersMethodsetAuthentication
Sets the userName and password if authentication is needed. If this method is not used, no authentication will be performed. <p> This method will crea
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:1106
↓ 15 callersMethodsetAuthentication
Sets the userName and password if authentication is needed. If this method is not used, no authentication will be performed. <p> This method will crea
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:1105
↓ 15 callersMethodsetMsg
No-op for testing. @param msg The email message. @return Email msg.
commons-email2-jakarta/src/test/java/org/apache/commons/mail2/jakarta/mocks/MockEmailConcrete.java:34
↓ 15 callersMethodsetMsg
No-op for testing. @param msg The email message. @return Email msg.
commons-email2-javax/src/test/java/org/apache/commons/mail2/javax/mocks/MockEmailConcrete.java:34
↓ 14 callersMethodcreate
Factory method to create a pre-configured email instance. @param clazz the requested implementation class @return the new instance @throws Exception
commons-email2-jakarta/src/test/java/org/apache/commons/mail2/jakarta/EmailLiveTest.java:58
↓ 14 callersMethodcreate
Factory method to create a pre-configured email instance. @param clazz the requested implementation class @return the new instance @throws Exception
commons-email2-javax/src/test/java/org/apache/commons/mail2/javax/EmailLiveTest.java:58
↓ 14 callersMethodgetBcc
Gets the BCC Address list. @return the 'BCC' recipients of the message @throws MessagingException determining the recipients failed
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/util/MimeMessageParser.java:158
↓ 14 callersMethodgetBcc
Gets the BCC Address list. @return the 'BCC' recipients of the message @throws MessagingException determining the recipients failed
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/util/MimeMessageParser.java:158
↓ 14 callersMethodgetCc
Gets the CC Address list. @return the 'CC' recipients of the message @throws MessagingException determining the recipients failed
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/util/MimeMessageParser.java:168
↓ 14 callersMethodgetCc
Gets the CC Address list. @return the 'CC' recipients of the message @throws MessagingException determining the recipients failed
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/util/MimeMessageParser.java:168
↓ 14 callersMethodgetFrom
Gets the FROM field. @return the FROM field of the message @throws MessagingException parsing the mime message failed
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/util/MimeMessageParser.java:213
↓ 14 callersMethodgetFrom
Gets the FROM field. @return the FROM field of the message @throws MessagingException parsing the mime message failed
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/util/MimeMessageParser.java:213
↓ 14 callersMethodgetHtml
Gets the HTML content. @return the HTML content. @since 1.6.0
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/HtmlEmail.java:506
↓ 14 callersMethodgetHtml
Gets the HTML content. @return the HTML content. @since 1.6.0
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/HtmlEmail.java:506
↓ 14 callersMethodgetMimeMessage
Gets the MimeMessage. @return the mimeMessage.
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/util/MimeMessageParser.java:235
↓ 14 callersMethodgetMimeMessage
Gets the MimeMessage. @return the mimeMessage.
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/util/MimeMessageParser.java:235
↓ 14 callersMethodgetSubject
Gets the MIME message subject. @return the MIME message subject. @throws MessagingException parsing the mime message failed.
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/util/MimeMessageParser.java:268
↓ 14 callersMethodgetSubject
Gets the MIME message subject. @return the MIME message subject. @throws MessagingException parsing the mime message failed.
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/util/MimeMessageParser.java:268
↓ 14 callersMethodgetTo
Gets the MIME message 'to' list. @return the 'to' recipients of the message. @throws MessagingException determining the recipients failed
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/util/MimeMessageParser.java:278
↓ 14 callersMethodgetTo
Gets the MIME message 'to' list. @return the 'to' recipients of the message. @throws MessagingException determining the recipients failed
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/util/MimeMessageParser.java:278
↓ 14 callersMethodhasHtmlContent
Tests is HTML content is present. @return true if HTML content is present.
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/util/MimeMessageParser.java:296
↓ 14 callersMethodhasHtmlContent
Tests is HTML content is present. @return true if HTML content is present.
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/util/MimeMessageParser.java:296
↓ 14 callersMethodisMultipart
Tests whether this is multipart. @return the isMultiPart.
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/util/MimeMessageParser.java:340
↓ 14 callersMethodisMultipart
Tests whether this is multipart. @return the isMultiPart.
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/util/MimeMessageParser.java:340
↓ 13 callersMethodgetContent
Gets the content. @return the content. @since 1.6.0
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/Email.java:724
↓ 13 callersMethodgetContent
Gets the content. @return the content. @since 1.6.0
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/Email.java:723
↓ 13 callersMethodgetPlainContent
Gets the plain content if any. @return the plainContent if any
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/util/MimeMessageParser.java:244
↓ 13 callersMethodgetPlainContent
Gets the plain content if any. @return the plainContent if any
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/util/MimeMessageParser.java:244
↓ 13 callersMethodgetReplyTo
Gets the 'replyTo' address of the email. @return the 'replyTo' address of the email @throws MessagingException parsing the mime message failed
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/util/MimeMessageParser.java:254
↓ 13 callersMethodgetReplyTo
Gets the 'replyTo' address of the email. @return the 'replyTo' address of the email @throws MessagingException parsing the mime message failed
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/util/MimeMessageParser.java:254
↓ 13 callersMethodhasAttachments
Tests if attachments are present. @return true if attachments are present.
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/util/MimeMessageParser.java:287
↓ 13 callersMethodhasAttachments
Tests if attachments are present. @return true if attachments are present.
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/util/MimeMessageParser.java:287
↓ 13 callersMethodhasPlainContent
Tests is plain content is present. @return true if a plain content is present.
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/util/MimeMessageParser.java:305
↓ 13 callersMethodhasPlainContent
Tests is plain content is present. @return true if a plain content is present.
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/util/MimeMessageParser.java:305
↓ 13 callersMethodsetPath
Sets the path to the attachment. The path can be absolute or relative and should include the file name. <p> Example: /home/user/images/image.jpg<br> E
commons-email2-jakarta/src/main/java/org/apache/commons/mail2/jakarta/EmailAttachment.java:145
↓ 13 callersMethodsetPath
Sets the path to the attachment. The path can be absolute or relative and should include the file name. <p> Example: /home/user/images/image.jpg<br> E
commons-email2-javax/src/main/java/org/apache/commons/mail2/javax/EmailAttachment.java:145
next →1–100 of 868, ranked by callers