Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. I want to create an Email Template from FCKEditor and ASP.NET 2.0

I want to create an Email Template from FCKEditor and ASP.NET 2.0

Scheduled Pinned Locked Moved ASP.NET
tutorialcsharpasp-netquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hardikr shah
    wrote on last edited by
    #1

    Hi All, Can anyone please guide me, I want to give an option to client to create a template for email, so he can create it in FCKEditor but I want to know how this template binds all dynamic information. for example Suppose client create template Hello Prefix LastName, FirstName, How are you? Its at customization of application stage. Then how I will reconginize that I have to bind Prefix, Last name , and First Name? Its when client have actual data. Please guide me. Its on urgent base... Thanks in advance.....

    A K 2 Replies Last reply
    0
    • H hardikr shah

      Hi All, Can anyone please guide me, I want to give an option to client to create a template for email, so he can create it in FCKEditor but I want to know how this template binds all dynamic information. for example Suppose client create template Hello Prefix LastName, FirstName, How are you? Its at customization of application stage. Then how I will reconginize that I have to bind Prefix, Last name , and First Name? Its when client have actual data. Please guide me. Its on urgent base... Thanks in advance.....

      A Offline
      A Offline
      Abhishek Sur
      wrote on last edited by
      #2

      I think creating template and replacing with original values is not a big deal. It depends on your logic. You can create a combobox in your editor, which will show the template arguments, say it will replace all the elements <##FirstName##> written in this format(whatever you think) with some values which you might take from a dialog box on submit. I have done similar kind of thing before, and I think it is not a big deal to do. Just parse your document, and find all the elements that matches <## -- ##> and give an option to replace them with values. :rose:

      Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


      My Latest Articles-->****
      InfoBox Visual Studio 2010 Extension
      Windows7 API Code Pack
      Simplify Code Using NDepend**

      1 Reply Last reply
      0
      • H hardikr shah

        Hi All, Can anyone please guide me, I want to give an option to client to create a template for email, so he can create it in FCKEditor but I want to know how this template binds all dynamic information. for example Suppose client create template Hello Prefix LastName, FirstName, How are you? Its at customization of application stage. Then how I will reconginize that I have to bind Prefix, Last name , and First Name? Its when client have actual data. Please guide me. Its on urgent base... Thanks in advance.....

        K Offline
        K Offline
        keyur satyadev
        wrote on last edited by
        #3

        give parameters name in FCK fix. for e.g. for Name tell client to [Name] input in this way where they want the actual name. from your application get the file in string builder and read the entire file and replace the [name] with name (same for all the parameter they entered in [lastname] way). here you have to fix the design (for passing parameter (i.e. [name])). if client enter {name} instead of [name] then it may not work. Regards Keyur Satyadev

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups