HTML EDITOR COMPONENT
User Manual
Oracle Forms
SWT / Eclipse
JavaFX manual
XML features
FAQ
Download
Screenshots
Licensing & Prices
HTML EDITOR APPLET
User Manual
FAQ
Drupal Integration
SAKAI Integration
IBM Lotus Notes
Download
Screenshots
Licensing & Prices
PDF GENERATOR
User Manual
Oracle Forms
Licensing & Prices
EQUATION/MATHML EDITOR
User Manual
FAQ
Download
Screenshots
Licensing & Prices
PDFEXPORT ADD-ON
User Manual
On-line store
Customers
Contacts

 

Sferyx JSyndrome HTML Editor Component Edition


Send Email from the Java HTML Editor as Multipart MIME Message

Create easily rich text emails with embedded images by opening or importing Docx files, Drag & Drop Images, Copy & Paste.
Send emails directly or save the messages as Outlook .eml file

 

1. Save as Microsoft Outlook .eml which can be opened inside any email client including Thunderbird, Apple Mail etc.

Since version 18.0 of the Sferyx JSyndrome HTML Editor there is the new export as e-mail .eml files - now is possible to export the entire content of the editor including all images as e-mail .eml file which can be opened with Outlook, Thunderbird and all other mail clients.

New methods for saving the content as e-mail .eml file:

public void saveAsEmailMessageFile(File f) - Saves the entire content of the editor as Multipart e-mail message .eml file including all the images embedded inside. It can be opened in email clients like Outlook, Thunderbird etc.

public boolean saveAsEmailMessageFile() - Opens a file dialog and saves the entire content of the editor as multipart e-mail message file .eml - it will include also all images inside. It can be opened in email clients like Outlook, Thunderbird etc.

public void saveAsEmailMessageFile(String file) - Saves the entire content of the editor as multipart e-mail message file .eml - it will include also all images inside. It can be opened in email clients like Outlook, Thunderbird etc.

 

New menu items for opening and saving Docx files and saving .eml files:


 

2. Send emails directly using the editor's API for sending messages over SMTP

Since version 18.0 of the Sferyx JSyndrome HTML Editor there is a new method for sending e-mails directly from the editor -  Now is possible to send the entire content of the editor via e-mail instantly including all images and formatting with a single method call:

htmlEditor.sendEntireContentAsEmailMessage("smtp.your_host.com", 25, "info@some_host.com", "somebody@other_host.com", "Another info request");

The method definition is as follows:

public boolean sendEntireContentAsEmailMessage(String mailHost, int port, String from, String to, String subject) - Sends as an e-mail the entire content of the editor including all images, formatting etc. as multipart mime message via the given SMTP mail server and port using the "from" address as sender, "to" as recipient and "subject" as subject of the message. The message will be sent using the SMTP protocol and will return true if the e-mail has been sent successfully, false in case of error.

 

Example screenshot of complex e-mail message created in the Sferyx HTML Editor by importing Microsoft Word .docx file, saved as .eml message file and opened with Microsoft Outlook:

send mail from java html editor

 

 

Our Services and assistance

All Sferyx products are assured with continuous e-mail support. With the retail products is included in the price 30 days startup support. Additionally, you can purchase annual support subscription tickets from our web store.

Sferyx offers also a wide range of customization services for its products in order to satisfy any customer requirement. We can adapt our products to fit the customer needs and any kind of integration requirements. We execute also express developments, customization under request, development of new features on demand. You can request a quote at sales@sferyx.com or support@sferyx.com indicating your requirements and the terms of delivery.