Uses of Interface
org.compiere.util.EmailSrv.ProvideBase64Data
Package
Description
Provide implementation for conversion of amount to word.
Provide cache, server log, JDBC interface, field display/data type, transaction, email, INI properties, security key store, encryption and environment context implementation.
Provide cache, server log, JDBC interface, field display/data type, transaction, email, INI properties, security key store, encryption and environment context implementation.
-
Uses of EmailSrv.ProvideBase64Data in org.compiere.util
Modifier and TypeClassDescriptionstatic class
../../../.. this class implement source of image from attachment of emailModifier and TypeMethodDescriptionstatic String
EmailSrv.embedImgToEmail
(String mailContent, EmailSrv.ProvideBase64Data provideBase64Data) EmailSrv.embedImgToEmail(String, ProvideBase64Data, String)
use default pattern for embed image is "\\s+src\\s*=\\s*\"cid:(.*?)static String
EmailSrv.embedImgToEmail
(String mailContent, EmailSrv.ProvideBase64Data provideBase64Data, String embedPattern) Find in mailContent pattern of embedded image.
For each of them, replace cid by base64 data.
Preview in cfEditor pattern is "\\s+src\\s*=\\s*\"cid:(.*?)static ArrayList<javax.mail.BodyPart>
EmailSrv.getEmbededImages
(String mailContent, EmailSrv.ProvideBase64Data provideBase64Data, String embedPattern) Get embedded images