ISMail, ISMail Pro, and ISMail EP Tools

ASP script to send email using CDOSYS (works on IIS):

Download: cdosys_auth.asp

Description: Send an email message from an ASP script that is running on IIS using CDOSYS.

Usage: edit the script, replacing the test values with actual account name/password, domain name, and message contents. These are the lines to edit:

.Item(cdoSMTPServer) = "127.0.0.1"
Replace
"127.0.0.1" with the mail server domain name.

.Item(cdoSendUsername) = "test@127.0.0.1"
R
eplace "test@127.0.0.1" with a valid account name

.Item(cdoSendPassword) = "test"
Replace "test" with a valid password

With iMsg
Set .Configuration = iConf
.To = """User A"" <test@127.0.0.1>"
.From = """User B"" <test@127.0.0.1>"
.Subject = "Hows it going? "
.CreateMHTMLBody "http://127.0.0.1/test.html"
.AddAttachment "C:\temp\test.txt"
.Send
End With
Replace the message fields with actual content. The ".AddAttachment" line is only required if an attachment should be sent; if sending an attachement, the file name of the attachment should be specified by this line.

Import mail account configuration: Perl scripts to add (or remove) ISMail account configuration

Download: adduser.pl, remuser.pl, IsMailMgr.pm

Description: The 'adduser.pl' script imports users specified in a CSV (comma separated value) file into ISMail as new accounts.The 'adduser.pl' script takes a list of users, one user per line, from an ASCII text file and creates a new ISMail account for each user. Each line in the CSV text file takes 4 values describing the new account; these values are in the order that is specified in the first line of the file.

The 'remuser.pl' script removes existing ISMail accounts. This script also uses a CSV file to specify the accounts to remove.

Note: ISMail is assumed to be installed into "c:\program files\instantservers\ismail". If a different installation directory is present, change the pathnames in the lines below.

Usage:

name,password,description,domain

fred,fredpassword,"This is fred account",mydomain.com
joe,joepwd,"This is joe account",mydomain.com
kathy,kathypwd,"This is kathy account",mydomain.com

Once this script has been run, new mail accounts will be visible in the ISMail configuration manager.

To remove existing accounts:

Once this script has been run, the mail accounts specified in list.txt will no longer appear in the ISMail configuration manager. (Note: the mailbox files for these accounts will not be deleted; the accounts may either be re-added later, or the mailbox files may be deleted from the file system separately).

Import/Export mail account messages: copy mail messages from one (IMAP) server to another

Download: imapsync [imapsync.zip]

Description: 'imapsync' copies mail account messages from one mail server to another. The servers must both support the IMAP protocol, and IMAP folder must contain only messages or other folders (not both messages and other folders).

Note: This is the recommended account migration script (legacy script is below).

Usage:

Import/Export mail account messages: copy mail messages from one (IMAP) server to another

Download: migrate.pl

Description: 'migrate.pl' (included with the ISMail-Webmail plugin) copies mail folders (and messages) from one mail server to another. The servers must both support the IMAP protocol.

Note: This is a legacy mail account migration script; see above for the recommended account migration script.

Usage:

Server Monitor

Download: smon.zip

Description: Monitor email and other servers (web, FTP, Firebird DB, ...) from a web browser. No client software to install. Uses only JavaScript and a small Java applet.

Usage:

  • download and unzip the file into a web-accessible directory
  • access the server monitor using http://<domain>/<directory>/smon.html where '<domain>' is the domain name and '<directory>' is the name of the web-accesible directory on the server.

To add servers or change the monitoring period, edit smon.html