| Author |  | 
      
        | AIWEB Groupie
 
  
  
 Joined: 19 October 2010
 Location: United States
 Online Status: Offline
 Posts: 54
 | 
          I am trying to pull the body_text from emails in a CRM application I integrated WebMail with as part of a
           | Posted: 03 December 2010 at 10:42am | IP Logged |   |  
           | 
 |  contact history module.
 
 Problem is, when I print the json encoded body_text from the message in the database, there are no line
 breaks, capitalization, html components or anything in the email message any more!!
 
 I tried echoing it to screen and it does the same..
 
 Does webmail filter this and rebuild when printing to screen? Or what is going on it's super weird and I am
 lost..
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | AIWEB Groupie
 
  
  
 Joined: 19 October 2010
 Location: United States
 Online Status: Offline
 Posts: 54
 | 
          NVM - I found the issue.. I was searching the forums and noticed an ADMIN mention that the messages
           | Posted: 03 December 2010 at 10:58am | IP Logged |   |  
           | 
 |  are not actually kept in the database..
 
 Makes sense now. I was stumped!
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          You can make WebMail store messages in the database if you need it:
           | Posted: 04 December 2010 at 3:42am | IP Logged |   |  
           | 
 |  
 Synchronization modes. How do they work? (the part about StoreMailsInDb)
 
 Note that reconfiguration of such sort will require removing and recreating all the accounts as data storage model will be changed significantly.
 
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  |