P
Peter Wohlken
Scenario: I am using COM objects to automate Outlook 2003 in a
corporate setting. My program creates a new message, adds SMTP
recipient, sets BodyFormat to plain text, adds subject and body,
attaches a spreadsheet, and sends message.
Problem: Non-Outlook recipient receives WINMAIL.DAT instead of Excel
attachment. This also happens when performing the above steps manually
using the Outlook 2003 progran itself.
More info: I don't have this problem at home, where I have Outlook 2003
internet-only-- the attachment is sent as a spreadsheet and not as
WINMAIL.DAT.
Solution I cannot use: The user will not make a global setting to set
all messgages to use plain text.
What I'm considering: I could create a contact and try setting the
message format on a 'per recipient' basis. However, I can't find a COM
object property for the 'Internet Format' setting that appears in
Outlook on the contact properties page.
Anyone have a clue why it's so hard to stop WINMAIL.DAT from being sent?
What about the contact property I mentioned ('Internet Format') - is
there a COM object property for this?
corporate setting. My program creates a new message, adds SMTP
recipient, sets BodyFormat to plain text, adds subject and body,
attaches a spreadsheet, and sends message.
Problem: Non-Outlook recipient receives WINMAIL.DAT instead of Excel
attachment. This also happens when performing the above steps manually
using the Outlook 2003 progran itself.
More info: I don't have this problem at home, where I have Outlook 2003
internet-only-- the attachment is sent as a spreadsheet and not as
WINMAIL.DAT.
Solution I cannot use: The user will not make a global setting to set
all messgages to use plain text.
What I'm considering: I could create a contact and try setting the
message format on a 'per recipient' basis. However, I can't find a COM
object property for the 'Internet Format' setting that appears in
Outlook on the contact properties page.
Anyone have a clue why it's so hard to stop WINMAIL.DAT from being sent?
What about the contact property I mentioned ('Internet Format') - is
there a COM object property for this?