Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resend button for spam/notspam mailboxes

Status
Not open for further replies.

Segfault666

IS-IT--Management
Apr 19, 2002
27
CA
I have never written a macro for Outlook, and am confused about where to start.

I have a very simple requirement: I would like to have a button (or script) which will 'Resend' all selected items to a specific e-mail address without having to do anything other than click that button.

Seems like a very simple task, but I can't find any documentation for a resend function on the mailitem class.

NOTE: Resend is NOT THE SAME as Forward as I need to keep my headers.

Application: I have a PST file with 1500 emails (500 notspam, 1000 spam) and I would like to use them to train my bayesian database, but i just don't have any efficent way of getting them out of Outlook and into Postfix.



Any help would be greatly appreciated

Thanks,
- Ian
 
If you forward with the emails as attachment, you will also keep the headers.

Marc
If 'something' 'somewhere' gives 'some' error, expect random guesses or no replies at all. Please specify details.
Free Tip: The F1 Key does NOT destroy your PC!
 
Correct me if I am wrong but forwarding as attachment, yes, keeps the headers in the attachment but the destination (after the mbox) is spamassassin through the sa-learn module which doesn't look at attachments, only headers and message content.
 
That part, you did not mention at first, so that makes it different.
In that case, are you on a server (Exchange or so?)

Marc
If 'something' 'somewhere' gives 'some' error, expect random guesses or no replies at all. Please specify details.
Free Tip: The F1 Key does NOT destroy your PC!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top