Pegasus Mail Suggestions
Command line address book import

By the way, for the future, if/when the whole address-book binary format changes, it would be really handy to have a simple command line address book import feature available.

<p>By the way, for the future, if/when the whole address-book binary format changes, it would be really handy to have a simple command line address book import feature available. </p>

It would be great to have a way to import an address book from a tagged-text and/or CSV file via the command line, rather than having to start up Pegasus GUI and go through all the selections. Either a separate little executable or some switches on the Pegasus command line to specify the names of the input text file and output address book.

I have a spreadsheet that contains all our user/contact/address book/distribution list data for the organisation. A macro in the spreadsheet writes distribution lists (easy to do - no binary formatting needed) and tagged-text files containing the various address book data. This data is updated regularly and new system address books made and put in place in Pegasus. It would be great to be able to automate the address book import.

I realise that the binary address book format has been published in these forums, but writing the binary format from the macro will be a bit difficult and in any case it will probably change with the new address book enhancements coming along.

Using Dawn converter has the same issue - I can't see a way to drive Dawn from the command line / script it.

Perhaps this idea could be implemented along with the new enhanced book?

 

<p>It would be great to have a way to import an address book from a tagged-text and/or CSV file via the command line, rather than having to start up Pegasus GUI and go through all the selections. Either a separate little executable or some switches on the Pegasus command line to specify the names of the input text file and output address book. </p><p>I have a spreadsheet that contains all our user/contact/address book/distribution list data for the organisation. A macro in the spreadsheet writes distribution lists (easy to do - no binary formatting needed) and tagged-text files containing the various address book data. This data is updated regularly and new system address books made and put in place in Pegasus. It would be great to be able to automate the address book import.</p><p>I realise that the binary address book format has been published in these forums, but writing the binary format from the macro will be a bit difficult and in any case it will probably change with the new address book enhancements coming along.</p><p>Using Dawn converter has the same issue - I can't see a way to drive Dawn from the command line / script it. </p><p>Perhaps this idea could be implemented along with the new enhanced book?</p><p> </p>

There is a command line tool called PMimport.exe  It was part of the original Pegasus Mail for DOS.  If you can't locate a copy, send me your email address and I will forward you a copy. My email address is irelam@telus.net.

Martin

<p>There is a command line tool called PMimport.exe  It was part of the original Pegasus Mail for DOS.  If you can't locate a copy, send me your email address and I will forward you a copy. My email address is irelam@telus.net.</p><p>Martin </p>

I downloaded the MS-DOS V3.5 version (pmail350.zip) from the Pmail downloads page. PMIMPORT.EXE is in there. GUIDE.EXE happily has all the instructions and sample text file format for importing. A couple of the field tags are different in this older version (e.g. old "Dept:" tag is "Of:" in the current Pmail address-book import/export function).

It runs happily on my WinXP SP3 with both the DOS-style GUI and the command line. It produces address books that work with Pmail V4.52.

Isn't it wonderful to have compatibility over so many years! And to have the old DOS version still available for easy download.

Thanks for the  help.

Phil

<p>I downloaded the MS-DOS V3.5 version (pmail350.zip) from the Pmail downloads page. PMIMPORT.EXE is in there. GUIDE.EXE happily has all the instructions and sample text file format for importing. A couple of the field tags are different in this older version (e.g. old "Dept:" tag is "Of:" in the current Pmail address-book import/export function).</p><p>It runs happily on my WinXP SP3 with both the DOS-style GUI and the command line. It produces address books that work with Pmail V4.52.</p><p>Isn't it wonderful to have compatibility over so many years! And to have the old DOS version still available for easy download.</p><p>Thanks for the  help.</p><p>Phil </p>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft