I am not sure to which warning messages you are referring.
Look at the following post where I provide an example Visual COBOL managed program which uses Outlook to send an e-mail message with an attachment.
When I run this I get no warning message from Outlook.
Sending e-mail through Outlook with Attachment
Thanks.