Letter Generation

S

sqlnovice

Is there any letter genertion code in C# to send out mass letters to
customers. I also want to know if Mail Merge is better option to handle huge
data load. The data input will be in xml format. Does Mail merge support xml
format as data input. If there is a better tool please let me know. Can it be
developed in C# code.
 
M

Michael B. Trausch

Is there any letter genertion code in C# to send out mass letters to
customers. I also want to know if Mail Merge is better option to
handle huge data load. The data input will be in xml format. Does
Mail merge support xml format as data input. If there is a better
tool please let me know. Can it be developed in C# code.

Pretty much anything that you can conceive of can be developed in C# or
any of the .NET languages---even entire operating systems, if you're
willing to go to the trouble of bootstrapping together a new system
designed around the CLR.

The CLR has a rich class library, but does not include something like
mail merge functionality that I am aware of. Instead, there are much
more powerful general-purpose utilities that you'll find that will help
you to quickly and easily implement mail merge functionality. You
mentioned that your input is in XML; the class library contains a DOM
implementation that you can use to work with the XML input.

What you didn't mention is whether or not the XML input is the letters,
the recipients, or both. Either way, your processing is going to be
along the lines of:

1. Load data store of letters.
2. Load data store of names/addresses/other associated data.
3. Loop over data store loaded in (2), outputting a custom copy of
(1) for each item in (2).
4. Repeat (3) for each item in (1), if there is more than one
item in (1).

FYI, this is not a C#-specific question, nor even a CLR-specific one.
It is a general programming question, and you'd be better suited at
finding a general programming forum to discuss such general and
high-level issues. Your post is technically off-topic here.

--- Mike
 
H

Hillbilly

I ahd to write this by hand back in the day using ASP but I think its
correct to say the software being sold for newsletter automation may be
helpful to research. As for the XML who knows? I'm surmising you'll have to
do some coding to integrate with some application
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top