is it possible to send email from external programs using pegasus mail.
Yes, but I do not do it. If I want to send mail from a program I use a commandline mailer like Blat!.
As for the example shown, I would use WinPMail's mail merge using the Excel data as the source file to send personalized messages to each user. The file would need to be saved as tab-delimited text, but the whole process is quite simple and you can actually verify what you are sending before it is sent. Imagine what would happen if this VBA code slipped a cog and sent the wrong data to the members of the staff!
Am I right in thinking that you have a webmail account that also lets you submit and receive via SMTP and POP/IMAP and that you have configured Pegasus to do so? Have you confirmed whether you can use this account via its web interface? At least we could then work out whether the account itself has a problem or the SMTP/Pegasus side of things is the issue.
The Virscan.ini must be in either the same directory as the Pegasus Mail EXE or in the directory pointed to by NewMail (see Pegasus Mail Help/About then click info....
I'm just throwing a few ideas in here because there's not much info there and nobody else has responded yet.
"Just about any message" - so not ALL messages then? Can you identify any common features between messages in the two groups (HTML/rich text messages, attachments, size, sender...)?
Alternatively, will it crash on any message given the right circumstances (second message opened in the session, preview mode switched on...)?
Have you checked for disk errors? Perhaps there's a bad sector and corrupted files.
I don't know what kind of network you have (workgroup or other) but if you have somewhere a dns (it's the case if you have a windows domain) it's easier to link the ip address to a domain name (ie smtp.mydomain.com or pop.mydomain.com), so you have just to declare these names in the pnd files and if one day you need to change their ip address you'll just have to modify your dns entries.
Just one final thing on this thread. Bearhtml printing does have a Preview mode, that is described in the Bear help file. This will allow you to see what is going to be printed before wasting unnecessary paper etc. To enable preview mode, add a line in Bearhtml.ini that says: Preview=yes
Is there anything else I can try? This office does not have a backup
system for their emails (I know, not real smart). Should I assume at
this point the emails are lost forever?
You might go through all of the files in the users mail directory that are not known files, i.e. odd extensions and open them with a ASCII editor to see if they look like a folder. Open a PMM folder data file to see what one looks like, the long folder name will be the first thing in the file. If you find the file save it with restore.pmm and create a zero byte restore.pmi file as well. Now when you re-open WinPMail is will find the folder and you can re-index it to recover it.
If you can't find it this way then you might try using one of the various deleted messages recovery utilities on the users home mail directory to recover PMM/PMI type files. If this does not work it's gone forever.
FWIW, I run Mercury with WinPMail and use a Mercury "always" filter to send a copy of all mail passing through the server (except the spam) to the archive user. It's fairly easy for the postmaster to do and so all users mail can be recovered.
I did not find any settings allowing me to exclude Pegasus Mail, its folder or some processes. There must be some sort of interception as you suggest, but at which level and how, only the programmers may identify those. As for me, I have just tested version 3.24 of Sandboxie, and still the problem remains. I have thus decided to uninstall it completely as Pegasus Mail is more vital to me than Sandboxie, but it is not with some sadness that I say farewell to this nice piece of software. I looked around and there is maybe an alternative named "iCore Virtual Accounts" which I hope the flying horse will accept. I will eventually keep you guys posted. If the guy behind Sand boxie finds a cure, I will let you know too.