943,733 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 4475
  • ASP.NET RSS
Aug 31st, 2006
0

Problem with reading the html email templates

Expand Post »
Hi,

I have created a HTML template for sending emails to the clients. I read the values from the database and fills them in the template.

Now i want to read the contents of this HTML template.

Can anybody suggest me how to do this?

Thanks in advance

Regards

Exelio
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
Exelio is offline Offline
57 posts
since Aug 2006
Sep 1st, 2006
0

Re: Problem with reading the html email templates

is the templet an html/text file? if so use System.IO and open the file with a filestream and read it with a streamreader.
Otherwise if you are like generating this dynamically with some type of asp response writing. try doing a webrequest to the page. Im not really sure if you can view the rendered html before it gets written to a client.


Click to Expand / Collapse  Quote originally posted by Exelio ...
Hi,

I have created a HTML template for sending emails to the clients. I read the values from the database and fills them in the template.

Now i want to read the contents of this HTML template.

Can anybody suggest me how to do this?

Thanks in advance

Regards

Exelio
Last edited by plazmo; Sep 1st, 2006 at 3:02 pm.
Reputation Points: 23
Solved Threads: 16
Posting Whiz in Training
plazmo is offline Offline
206 posts
since Aug 2005
Dec 11th, 2008
0

Re: Problem with reading the html email templates

Hi,

I was given a similar Task by my client to develop an email template in Html which sends emails For Example:If it is an

Apartmental Company,It needs to send emails when new people Sign Up the lease and,If they are the current Residents we need

to send them their payment reminders every monthly or weekly.If they have seen the Apartment and are not back we need to

send an email,whether they are still looking for any apartments for this our email will include specials.

For This one i need to develop an email engine which sends emails automatically with some attachements,images,some text

etc.,

Can Any One Please Help me with some examples and sample code is greatly appreciated.

Thanks in Advance.
Terry
Reputation Points: 10
Solved Threads: 0
Newbie Poster
terrible is offline Offline
2 posts
since Dec 2008
Dec 16th, 2008
0

Re: Problem with reading the html email templates

I will post a detailed aticle in C# soon.
Reputation Points: 25
Solved Threads: 18
Practically a Master Poster
binoj_daniel is offline Offline
645 posts
since Dec 2006
Dec 16th, 2008
0

Re: Problem with reading the html email templates

Here is the detailed tutorial with sample code. Hope this will help.

http://www.coderewind.com/Index.php?...ew_article=115

Mark this post as resolved if this helps.
Reputation Points: 25
Solved Threads: 18
Practically a Master Poster
binoj_daniel is offline Offline
645 posts
since Dec 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: When to close a db connection?
Next Thread in ASP.NET Forum Timeline: query about printing





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC