YoungManRiver
IS-IT--Management
All,
I need the following:
I'm REXX hack and use Pegasus Mail. Problem with Pegasus Mail is the files, at the file level are compressed or encrypted with multiple emails jammed into one file. I have over 1 Million emails in my system. I need to clean out some, but need to keep all the valid email addresses.
I need to be able to write a routine that:
1. opens the email files, one-by-one,
2. finds the individual emails in them,
3. find the email addresses, in the email, and validates them,
4. records the valid email address information in a file similar to their distribution files,
5. Checks the date and content,
6. Deletes the email, if more than 2 years old and not on forbidden delete content list,
So I need a code example on parsing Pegasus Mail files and a code example on validating email addresses.
Then I have a file I want to send out to a distribution list, over 400 people, with whom I've been corresponding in the past, so not SPAM. But the way Pegasus does distro lists the new SPAM filters see the distro and say no way.
So therefore I need to run the SMTP mail send out and send them one by one. I also have a constraint from my ISP that thinks I'm SPAMMING if I send more that X number of mails in under Y minutes so will have to put in a time delay between sends.
Anyway for this I need a code example on using SMTP mailout, hopefully with time delay.
If anyone has some resources I would appreciate it.
Thanks!
YMR
I need the following:
I'm REXX hack and use Pegasus Mail. Problem with Pegasus Mail is the files, at the file level are compressed or encrypted with multiple emails jammed into one file. I have over 1 Million emails in my system. I need to clean out some, but need to keep all the valid email addresses.
I need to be able to write a routine that:
1. opens the email files, one-by-one,
2. finds the individual emails in them,
3. find the email addresses, in the email, and validates them,
4. records the valid email address information in a file similar to their distribution files,
5. Checks the date and content,
6. Deletes the email, if more than 2 years old and not on forbidden delete content list,
So I need a code example on parsing Pegasus Mail files and a code example on validating email addresses.
Then I have a file I want to send out to a distribution list, over 400 people, with whom I've been corresponding in the past, so not SPAM. But the way Pegasus does distro lists the new SPAM filters see the distro and say no way.
So therefore I need to run the SMTP mail send out and send them one by one. I also have a constraint from my ISP that thinks I'm SPAMMING if I send more that X number of mails in under Y minutes so will have to put in a time delay between sends.
Anyway for this I need a code example on using SMTP mailout, hopefully with time delay.
If anyone has some resources I would appreciate it.
Thanks!
YMR