October 6, 20205 yr Has anyone tried using the plugin to send email from the new rich text editor add-on in 19.1?
October 7, 20205 yr 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
October 13, 20205 yr Author 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.
January 26, 20214 yr Newbies 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
Create an account or sign in to comment