String
as a URL that will then be embedded in the message.
@param urlString String representation of the URL.
@param name The name that will be set in the filename header field.
@return A String with the Content-ID of the URL.
@throws EmailException when URL supplied is invalid or if is nullor empty; also see {@link javax.mail.internet.MimeBodyPart} for definitions
@see #embed(URL,String)
@since 1.1
The given document stream is consumed but not closed by this method. The responsibility to close the stream remains on the caller.
Information about the parsing context can be passed in the context parameter. See the parser implementations for the kinds of context information they expect.
In general implementations should favor preserving the source file's metadata unless an update to a field is explicitly defined in the Metadata object. More specifically:
|
|
|
|
|
|
|
|