Forms 5.0 and MAPI
From: Gianluigi Trento <gitrento_at_tin.it>
Date: Sat, 16 May 1998 16:06:35 +0200
Message-ID: <6jk6ig$rvu_at_everest.vol.it>
[Quoted] I'm using MAILX package to send e-mail via Forms 5.0 to Outlook and it works fine buat I have a problem with attachments: Attached files are sended but without name (NO NAME).
Date: Sat, 16 May 1998 16:06:35 +0200
Message-ID: <6jk6ig$rvu_at_everest.vol.it>
[Quoted] I'm using MAILX package to send e-mail via Forms 5.0 to Outlook and it works fine buat I have a problem with attachments: Attached files are sended but without name (NO NAME).
This is the code:
/* Attachment */
if attch is not null then
msg_attch := ole2.get_obj_property(message1,'Attachments'); attachment := ole2.invoke_obj(msg_attch,'add'); ole2.set_property(attachment,'source',Attch); ole2.set_property(attachment,'position',0); ole2.set_property(attachment,'type',1); ole2.set_property(attachment,'name',nAttch);end if;
args := ole2.create_arglist;
ole2.add_arg(args,Attch); ole2.invoke(attachment,'ReadFromFile', args); ole2.destroy_arglist(args);
Any idea?
Thanks.
Gianluigi Trento
gitrento_at_tin.it
Received on Sat May 16 1998 - 16:06:35 CEST