Mailtraq - the Complete Email Server
   

Enstar for Mailtraq email server sales & support
Making world-class Internet technology affordable  

Search for:

Advanced search

KB14030601 Scripting example - webmail

This is an example Console Script for enabling Webmail for all users.

 

General instructions for use will be found at Scripting

 

--8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<--

// Enabling WebMail for all users
//
// WebMail is enabled or disabled through setting the WebMailOptions
// property to 1 for User objects.

var users = Server.Users;
for (var i = 0; i < users.Count; i++)
{
  var user = users.Get(i);
  user.WebMailOptions = 1;
}

--8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<--

 

 

 


Keywords: kb scripting
Mailtraq Highlights...
 SMTP Server     Mailtraq SMTP email server video IMAP Server     Mailtraq IMAP email Server video
 POP3 Server     Mailtraq POP3 email server video Proxy Server     Mailtraq proxy email server video
 Webmail Server     Mailtraq webmail email server video Mailing-list Server     Mailing list email server video
 Groupware Services     Mailtraq groupware email services video Spam and Virus control     Spam and virus control email server video

 

   Copyright © 2003 - 2011 Enstar Ltd, Enstar LLC & Fastraq Ltd. All rights reserved. Privacy policy.
   Mailtraq® is a registered trademark of Fastraq Limited.