EMAIL RELATED UTILITIES FROM LEXACORP
All of these utilities have been written in PBWin from PowerBasic (Note the file sizes!).
Source code is available on request.
Also note that none of these utilities has a "Setup" or Uninstal" procedure. They do not write to the Registry and do not put DLLs etc in other directories. To remove any of these utilities from your system just delete them .
Mailbox Size Warning
Click here for Screenshot
Mail Administrators:
If your mail system uses a directory system for mailboxes, has restrictions on mailbox sizes and you want to warn Windows users when these boxes are getting full, include MAILWARN.EXE in their login script
It will tell them their limit and how big their mail directory is when it reaches defineable "trigger size". Available in Spanish (translation by Freddy Kugelmass) and German (translation by Stephan Reichenbach)
Click here to download MailWarn English Version
Click here to download MailWarn Spanish Version
Click here to download MailWarn German Version
(Current version 30 Jul 2001 - 11Kb).

Mail Box Analyser - Message Counter
Quick analysis of a Pegasus Mail mailbox. Reports the number of Folders and Inward and Outward messages in the mailbox and shows total size of all messages and total size of the mailbox directory. Just drop it into a mail directory and run it (Note: It only reports on the directory it is run from)
Click here to download MsgCount
(Current version July 2001 - 8Kb).

Mailing List Expander
Pegasus Mail Mailing Lists can contain a mixture of email addresses and Address Book names. The names are resolved at the time send a message using the list.
This utility will provide a plain text list of the entries in a mailing list with the corresponding addresses from the address books.
Ver 1.1 also has an option to strip names from lists which contain names as well as addresses and can also sort the list.
Click here to download LstExpnd
(Current version 1.1 30 August 2001 - 16Kb).

Email Attachment Warning
Click here for Screenshot
Pegasus Mail Administrators:
If you want to prevent users from viewing/executing vbs,exe etc files, use Attchwrn. Set the executable as the default for dangerous filetypes in Viewer.PM.
When they select "View" on an attachment, they will just receive your message telling them that they can't and advising what to do with the attachment.
Click here to download AttchWrn
(Current version August 2000 - 7Kb).

Pegasus Mail Message Save File cleaner
A utility to clean up the text file created when saving multiple messages to disk with Pegasus Mail. MailStrip allows you to strip headers ( or only retain certain selected headers) from all messages. Where there is a standard footer in messages with a unique identifying line, you can also strip out the footers. Additionally it can strip out non-'plain text' parts from any multipart MIME messages in the file.

Click here to download MailStrip
(Current version 1.2d - Jun 2005 - 19Kb).
Pegasus Mail Daily Outward Mail Scheduler
(Daymove)
DaymoveX and DaymoveS - Two utilities to send Pegasus Mail "pending" outward mail files on a daily basis (used in combination with a task scheduling program such as the MS Task Scheduler)
The programs searches all .PMX and .PMW files in the current directory for a line indicating that they should be send based on the current date.
DaymoveS (S for Subject) looks for a "Subject:" line which ends with a string matching the current date in the form [yymmdd].
DaymoveX (X for X-Header) looks for a custom header line in the form X-Send-Date:yymmdd
If the program finds a match it moves the file up one directory level.
(ie By placing them in a 'Pending' directory below the normal outward mail directory, they will be placed back in the send queue.)
Also included in the zip file is AddrMod - a utility to add/remove addresses from .PMX files (use to update pending pmx files when people subscribe/unsubscribe to a list for which you have already created pending messages)
Click here to download Daymove (containing DaymoveS, DaymoveX amd AddrMod)
(Current version 1.0 May 2001 - 30Kb).

Pegasus Mail Address Book/Distribution List entry locator
If you use multiple address books or distribution lists in Pegasus Mail, it can be tricky to find out which book is being used to autocomplete an address or which lists contain a particular address. With AddrFind , you can locate every address book or distribution list that contains a particular name (or any other string).

Click here to download AddrFind
(Current version 1.2 Jan 2001 - 18Kb).

Pegasus Mail Address Folder name resolver
PegFolders lists all the Pegasus Mail folders in the current directory, showing the operating system filename, the internal Identifier string, the user friendly "Folder Name" and the file size.

Click here to download PegFolders
(Current version 2.1 Jan 2006 - 17Kb).

LISTSERV Log splitter

A specialised utility. A DOS application which takes a LISTSERV log file (monthly or whatever) and splits it on message boudaries into a series of files called LOG00001.CNM etc. You can then put them into a Pegasus Mail "New Mail Folder" and manipulate the messages individually.
Click here to download LogSplit
(Current version 1.0 March 2001 - 23Kb).
MAPISend
MAPISend is a simple Command Line utility to send messages (and attachments) via any MAPI compliant email system (such as Pegasus Mail). You can use it in batch files or macros/modules in other programs to automate emailing documents.
If you run MAPISend without any parameters, it will display a simple help screen.

One use for MAPISend is to email MS Word documents easily (which you normally can't do unless you use MS Outlook.)
To do this, just put put this Macro in your Normal.dot template file and create a menu item or toolbar button to invoke the macro:

Public Sub send_document()
Dim lngResult As Long
If Documents.Count >= 1 Then
  If ActiveDocument.Saved = False Then
      ActiveDocument.Save
  End If
  lngResult = Shell("Mapisend /E /F " & ActiveDocument.Name)
Else
  MsgBox "No documents are open"
End If

End Sub
Click here to download MAPISend
(Current version June 2001 - 11Kb).

Pegasus Mail Add Addresses from Outgoing messages to Content Control Whitelist
(AddToWhite)

To use with Pegasus Mail v4.x:

Create a new Copy to Self Filter rule set to Always Trigger' with an action of 'Run a Program'.
Set the rule parameters to the program followed by the path to your mail directory.
If you username is Admin,it would be something like: 'C:\Pmail\AddToWhite.exe C:\Pmail\Mail\Admin'

When you send a message, the program will check all To:,Cc: and Bcc: addresses in the message against the current WHITE.PML. If they are not already there, they will be added.

New in Version 1.4:
Addresses are reduced to the actual name@domain part and converted to all lower case for the Whitelist to reduce the number of duplicate entries (same address, but different Display Name details)
If an addressee is a Pegasus Mail AddressBook alias, not an actual email address, it is ignored, and the alias will not be added to the list. It is up to the user to make sure that address book recipients are whitelisted.




Click here to download AddToWhite
(Current version 1.4 Jan 2005 - 14Kb).

Pegasus Mail Display an alert when a message is received
(MsgAlert)

To use with Pegasus Mail v4.x:

Create a New Mail Filter rule set to identify messages you wish to be notified of with an action of 'Run a Program'.
Set the rule parameters to the program path and name.


When a matching message is received, the program will display a standard Windows dialog box showing the From: and Subject: headers of the message



Click here to download MsgAlert
(Current version 1.0 April 2006 - 7Kb).

Pegasus Mail Restore Archived Mail Folders
(PMRestArch)

Pegasus Mail cannot display two mail folders with the same internal ID even if they are in separate mailboxes. Mail folders also have to be Read-Write.

This causes problems when trying to view mail folders which have been archived by copying them to backup media.

This utility:
1. Copies all .PMM and .PMI files in the source directory to the destination directory and renames them as BAKxxxxx.PMM and BAKxxxx.PMI.
2. Ensures that the resulting file is Read/Write.
3. Creates a different internal unique ID for the file.

Once you have run this program to restore archived folders to a directory you can attach that directory using the Pegasus Mail 'Add mailbox to list' option and access the archived folders in this new mailbox

Now available in French - translation by Philippe Chartier
Click here to download PMRestArch
Click here to download PMRestArch French Version
(Current version 1.2 Jul 2006 - 11Kb).