| Author |  | 
      
        | plevexier Newbie
 
  
 
 Joined: 19 May 2008
 Online Status: Offline
 Posts: 2
 | 
          Hi,
           | Posted: 19 May 2008 at 8:16pm | IP Logged |   |  
           | 
 |  
 I would like to store the subject/body of the emails to send by my ASP.NET application in text files.
 
 Each text file would contain an email template with certain tags (eg. [name]), those tags will be replaced at runtime.
 
 I found the namespace Mailbee.html which seems to contain all the objects needed, but I'm not sure if I can use them and how to implement what I need... the examples are pretty small for that namespace.
 
 Any help would be appreciated.
 
 Thanks,
 
 Patrice
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Andrew AfterLogic Support
 
  
 
 Joined: 28 April 2006
 Location: United States
 Online Status: Offline
 Posts: 1189
 | 
          MailMerge feature would allow you to do what you need. If you have recipients' information stored in a database, you should use Smtp.SendMailMerge method to send messages based on a template.
           | Posted: 20 May 2008 at 4:47am | IP Logged |   |  
           | 
 |  
 If you don't have a recipients database, this sample should be useful to you.
 
 Best regards,
 Andrew
 | 
       
        | Back to Top |     | 
       
       
        |  |