Eric Matthews Posted October 6, 2020 Posted October 6, 2020 Has anyone tried using the plugin to send email from the new rich text editor add-on in 19.1?
Junior360Works Posted October 7, 2020 Posted October 7, 2020 Hey Eric, The Rich Text Editor Addon by Claris uses HTML tags to create the rich text features, much like a WYSIWYG text editor (eg, QuillJS). If you look at the raw contents of the field you're editing with the addon, you'll see html tags everywhere you make any formatting changes. It's still entirely compatible with our Email Plugin, you would just want to make sure to switch the body-type from plaintext to html in any plugin calls. For instance, assuming you're using EmailSetBody to attach your body text while generating an e-mail, make sure to switch from the first step to the second. EmailSetBody( Email::body ; "plain" ) // this is used for mail clients which don't display HTML EmailSetBody( Email::body ); "html" ) // HTML version with formatting Similarly, if you're using EmailQuickSend, make sure to wrap the body text in an <html> tag and the function will know to attach the body as HTML. Let me know if you have any other questions, Junior Perez 360Works Developer 1
Eric Matthews Posted October 13, 2020 Author Posted October 13, 2020 Thanks, that's good news. Any plans for making Add-Ons for 360Works Email? I noticed several features are missing from that Rich Text Editor add-on. Even the editor in this forum has tables and image alignment.
Newbies Spiro Pennino Posted January 26, 2021 Newbies Posted January 26, 2021 On 10/7/2020 at 6:22 PM, Junior360Works said: EmailSetBody( Email::body ; "plain" ) // this is used for mail clients which don't display HTML EmailSetBody( Email::body ); "html" ) // HTML version with formatting Similarly, if you're using EmailQuickSend, make sure to wrap the body text in an <html> tag and the function will know to attach the body as HTML. It works for text but the images are embedded and not displayed in the email. Is there the possibility to insert the 'embedResources' parameter as in 'EmailSetBodyFile'? Thanks
Recommended Posts
This topic is 1464 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now