Question:
For the Bounce ActiveX is it better to use:
mailman.CopyMail()
OR
mailman.GetAllHeaders(10)?
Answer:
If the intent is to process a mailbox to handle bounces, CopyMail is a poor choice if the mailbox can potentially contain emails with large attachments. (However, if the mailbox to be read is one setup explicitly for bounce processing, then CopyMail is fine.)
If GetAllHeaders is used, you want to get enough of the email so that the bounce information is available. 10 lines may not be enough. I would suggest a value such as 200, which should be enough for the body of a bounce notification, but protects from huge attachments…