I search for a component for sending mails:
- It should be used in a non-UI application.
- The input provided to the mail merge component is a template retrieved dynamically from a data source as string.
- The template contains HTML code and arbitrary placeholders, which should be replaced by values provided e. g. from e.g. a dictionary. The templates are not created yet. Hence, the syntax for the templating language may be dictated by the component. It would be good if the templating language supported advanced concepts like control flow statements or at least alternatives.
- The email should be sent via SMTP as HTML mail.
- Email attachments are needed.
- Email address validation would be nice.
Do you offer sth. like this?
- It should be used in a non-UI application.
- The input provided to the mail merge component is a template retrieved dynamically from a data source as string.
- The template contains HTML code and arbitrary placeholders, which should be replaced by values provided e. g. from e.g. a dictionary. The templates are not created yet. Hence, the syntax for the templating language may be dictated by the component. It would be good if the templating language supported advanced concepts like control flow statements or at least alternatives.
- The email should be sent via SMTP as HTML mail.
- Email attachments are needed.
- Email address validation would be nice.
Do you offer sth. like this?
5 Answers, 1 is accepted
0
Hi Niklas,
Thank you for considering our controls.
What you are describing can be partially achieved with our WordsProcessing library, which supports import, editing and export of HTML, among other formats. A possible implementation would be as follows: 1) an HTML template is imported in WordsProcessing 2) using the control the placeholders are replaced with fields where appropriate and mail merge is performed 3) The resulting documents are exported to HTML. As for the control flow statements, the field that we support which could be of service to you is the IF field.
However, it should be noted the HTML has its limitations. If it is an option it might be better if the template is prepared in DOCX, including the fields, then imported and exported to HTML.
Regarding the requirements which concern e-mail, I am going to need a bit more time for research and will get back to you soon.
Please, let me know if you have further questions or comments.
Regards,
Anna
Progress Telerik
Thank you for considering our controls.
What you are describing can be partially achieved with our WordsProcessing library, which supports import, editing and export of HTML, among other formats. A possible implementation would be as follows: 1) an HTML template is imported in WordsProcessing 2) using the control the placeholders are replaced with fields where appropriate and mail merge is performed 3) The resulting documents are exported to HTML. As for the control flow statements, the field that we support which could be of service to you is the IF field.
However, it should be noted the HTML has its limitations. If it is an option it might be better if the template is prepared in DOCX, including the fields, then imported and exported to HTML.
Regarding the requirements which concern e-mail, I am going to need a bit more time for research and will get back to you soon.
Please, let me know if you have further questions or comments.
Regards,
Anna
Progress Telerik
0
0
Lairger
Top achievements
Rank 1
answered on 10 Jul 2018, 12:08 PM
The MailMerge component can be used to effortlessly merge MS Word template documents with database content in .NET projects. This component encapsulates the whole merge process, so that you can implement mail merge applications with 2 lines of code.
0
Peter
Top achievements
Rank 1
answered on 06 Mar 2019, 09:43 PM
Any reference to the source code on how to do this?
0
Hi Peter,
You can find information about the Mail Merge functionality in our documentation. There is also an SDK example demonstrating how you can use the feature where you can check the API and test the functionality: Mail Merge SDK example.
Regards,
Tanya
Progress Telerik
You can find information about the Mail Merge functionality in our documentation. There is also an SDK example demonstrating how you can use the feature where you can check the API and test the functionality: Mail Merge SDK example.
Regards,
Tanya
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.