| Author |  | 
      
        | Guests Guest Group
 
  
 
 Joined: 10 November 2003
 Online Status: Online
 Posts: 262
 | 
          If I save a message in a DB Table using the RawBody contents, how do I get the rawbody back into a Message?
           | Posted: 18 June 2004 at 5:10pm | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          You can load the content back in RawBody property:
           | Posted: 19 June 2004 at 12:31pm | IP Logged |   |  
           | 
 |  
 Set Msg = CreateObject("MailBee.Message")
 Msg.RawBody = strMessageDataFromDataBase
 
 ' Now the message is loaded.
 
 ' Display message's subject
 MsgBox Msg.Subject
 
 
 If you want to resend this message with SMTP object, you can do this in the same way:
 
 ...
 SMTP.Message.RawBody = strMessageDataFromDataBase
 SMTP.Send
 | 
       
        | Back to Top |     | 
       
       
        |  |