This is a migrated thread and some comments may be shown as answers.

Mail merge component for non-UI application

5 Answers 143 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Niklas
Top achievements
Rank 1
Niklas asked on 08 Feb 2018, 07:58 PM
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?

5 Answers, 1 is accepted

Sort by
0
Anna
Telerik team
answered on 13 Feb 2018, 03:14 PM
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

0
Anna
Telerik team
answered on 14 Feb 2018, 09:02 AM
Hi again,

Unfortunately, we do not offer a product that supports sending e-mail. I am sorry that we could not be of more help in this matter.

Regards,
Anna
Progress Telerik

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
Tanya
Telerik team
answered on 11 Mar 2019, 03:12 PM
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
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.
Tags
General Discussions
Asked by
Niklas
Top achievements
Rank 1
Answers by
Anna
Telerik team
Lairger
Top achievements
Rank 1
Peter
Top achievements
Rank 1
Tanya
Telerik team
Share this question
or