I am writing an app to read incoming email to look for undeliverable
messages being returned as a result of a mail campaign. So far so good
using MAPI and works ok. But.... I need the subject of the original email
that I sent. This is on the incoming undeliverable mail notification as an
attachment to that email normally along with another attachment which
gives details of the original recipient.
The attachment that has the recipient details in is normally called
ATT2002.txt or alike and can be read without a problem. However the
attachment I really need the name of is the attached original message.
When I try to get the name of this it just gives me MAI.MSG. I understand
this is a temporary file used to hold the message?
I hope this description makes some sense to someone :)
Has anyone any ideas about a way to do this, any help would be very much
appreciated.