Problem with reading the html email templates

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Aug 2006
Posts: 57
Reputation: Exelio is an unknown quantity at this point 
Solved Threads: 0
Exelio Exelio is offline Offline
Junior Poster in Training

Problem with reading the html email templates

 
0
  #1
Aug 31st, 2006
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
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 206
Reputation: plazmo is an unknown quantity at this point 
Solved Threads: 16
plazmo's Avatar
plazmo plazmo is offline Offline
Posting Whiz in Training

Re: Problem with reading the html email templates

 
0
  #2
Sep 1st, 2006
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.


Originally Posted by Exelio View 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
Last edited by plazmo; Sep 1st, 2006 at 3:02 pm.
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 2
Reputation: terrible is an unknown quantity at this point 
Solved Threads: 0
terrible terrible is offline Offline
Newbie Poster

Re: Problem with reading the html email templates

 
0
  #3
Dec 11th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 645
Reputation: binoj_daniel is an unknown quantity at this point 
Solved Threads: 17
binoj_daniel's Avatar
binoj_daniel binoj_daniel is offline Offline
DaniWeb Expert

Re: Problem with reading the html email templates

 
0
  #4
Dec 16th, 2008
I will post a detailed aticle in C# soon.
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 645
Reputation: binoj_daniel is an unknown quantity at this point 
Solved Threads: 17
binoj_daniel's Avatar
binoj_daniel binoj_daniel is offline Offline
DaniWeb Expert

Re: Problem with reading the html email templates

 
0
  #5
Dec 16th, 2008
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the ASP.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC