You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Regular Expression to find all {@code <img src="...">} entries in an HTML document.It needs to cater for various things, like more whitespaces including newlines on any place, HTML is not case
39
+
* sensitive and there can be arbitrary text between "IMG" and "SRC" like IDs and other things.
* Validated DKIM values and then delegates to {@link Email#Email(EmailPopulatingBuilder)} with <code>this</code> as argument.
35
45
*/
@@ -857,20 +867,26 @@ public interface EmailPopulatingBuilder {
857
867
* Sets the base folder used when resolving images sources in HTML text. Without this, the folder needs to be an absolute path (or a classpath/url resource).
858
868
* <p>
859
869
* Generally you would manually use src="cid:image_name", but files and url's will be located as well dynamically.
870
+
*
871
+
* @param embeddedImageBaseDir The base folder used when resolving images sources in HTML text.
* Sets the classpath base used when resolving images sources in HTML text. Without this, the resource needs to be an absolute path (or a file/url resource).
865
877
* <p>
866
878
* Generally you would manually use src="cid:image_name", but files and url's will be located as well dynamically.
879
+
*
880
+
* @param embeddedImageBaseClassPath The classpath base used when resolving images sources in HTML text.
* Sets the base URL used when resolving images sources in HTML text. Without this, the resource needs to be an absolute URL (or a file/classpath resource).
872
886
* <p>
873
887
* Generally you would manually use src="cid:image_name", but files and url's will be located as well dynamically.
888
+
*
889
+
* @param embeddedImageBaseUrl The base URL used when resolving images sources in HTML text.
// EMAIL-125: set the name of the DataSource to the normalized resource URL similar to other DataSource implementations, e.g. FileDataSource, URLDataSource
Copy file name to clipboardExpand all lines: modules/simple-java-mail/src/main/java/org/simplejavamail/email/internal/EmailException.java
+1
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ class EmailException extends MailException {
12
12
staticfinalStringERROR_READING_FROM_FILE = "Error reading from file: %s";
13
13
staticfinalStringERROR_READING_FROM_PEM_INPUTSTREAM = "Was unable to convert PEM data to X509 certificate";
14
14
staticfinalStringERROR_LOADING_PROVIDER_FOR_SMIME_SUPPORT = "Unable to load certificate (missing bouncy castle), is the S/MIME module on the class path?";
15
+
staticfinalStringERROR_RESOLVING_IMAGE_DATASOURCE = "Unable to dynamically resolve data source for the following image src: %s";
0 commit comments