Mail merge component for non-UI application

6 posts, 0 answers
  1. Niklas
    Niklas avatar
    4 posts
    Member since:
    Sep 2017

    Posted 08 Feb 2018 Link to this post

    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?
  2. Anna
    Admin
    Anna avatar
    136 posts

    Posted 13 Feb 2018 Link to this post

    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

  3. Anna
    Admin
    Anna avatar
    136 posts

    Posted 14 Feb 2018 Link to this post

    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

  4. Lairger
    Lairger avatar
    4 posts
    Member since:
    Jun 2018

    Posted 10 Jul 2018 Link to this post

    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.
  5. Peter
    Peter avatar
    1 posts
    Member since:
    Dec 2018

    Posted 06 Mar 2019 in reply to Lairger Link to this post

    Any reference to the source code on how to do this?
  6. Tanya
    Admin
    Tanya avatar
    897 posts

    Posted 11 Mar 2019 Link to this post

    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.
Back to Top