| Author | 
         | 
         
      
        
         
         Agust1005 Newbie 
          
 
  Joined: 30 August 2010 Location: Iceland
 Online Status: Offline Posts: 7
          | 
        
         
          
           | Posted: 30 August 2010 at 5:26am | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Hello,
 
 I need to have the setup such that email is always deleted from server when 
 downloaded.  I only want to store email in the database.
 
 I have set 
 <StoreMailsInDb>1</StoreMailsInDb>
 and
  <AllowUsersChangeEmailSettings>0</AllowUsersChangeE mailSettings>
 
 Is that enough - does webmail pro default to deleting messages from the 
 mailserver once fetched?
 
 Agust
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         Igor AfterLogic Support 
          
 
  Joined: 24 June 2008 Location: United States
 Online Status: Offline Posts: 6168
          | 
        
         
          
           | Posted: 30 August 2010 at 6:07am | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
WebMail Pro does not default to deleting messages, and that was done intentionally. If you'd like it to be that way when new account is created, modify initial value for MailMode property of Account object. That would be common/class_account.php file for PHP version, or App_Code/Account.cs for ASP.NET version.
 
 --
 Regards,
 Igor, AfterLogic Support
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         Agust1005 Newbie 
          
 
  Joined: 30 August 2010 Location: Iceland
 Online Status: Offline Posts: 7
          | 
        
         
          
           | Posted: 30 August 2010 at 7:30am | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Thanks Igor,
 
 Is it a "not recommended" practice to delete messages from server?  Is there added 
 risk that messages will be lost if there is an error?
 
 Agust
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         Igor AfterLogic Support 
          
 
  Joined: 24 June 2008 Location: United States
 Online Status: Offline Posts: 6168
          | 
        
         
          
           | Posted: 30 August 2010 at 7:40am | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
I don't think that it's dangerous. If you're using POP3 with "Entire Messages" sync. mode, it's absolutely OK to remove messages from server. But personally, I prefer "delete message from server when it's removed from Trash", just to have a chance to bring message back   
 
 --
 Regards,
 Igor, AfterLogic Support
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         Agust1005 Newbie 
          
 
  Joined: 30 August 2010 Location: Iceland
 Online Status: Offline Posts: 7
          | 
        
         
          
           | Posted: 30 August 2010 at 7:48am | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Thanks again for a quick reply Igor,
 
 I am in the process of moving a small organization from Exchange and into Webmail 
 Pro as email solution.
 
 Disk space is an issue as some users have lot of email - so I will make the jump 
 and have email only stored in database.  Besides, email in database is smaller 
 then stored as "file" on an email server.
 
 Agust
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   |