
Launching mail using Powerbuilder and mail session
By "mail session," I suspect you mean you are using Simple MAPI. It uses a simplified mail form. If you want to use either an Outlook custom form or custom toolbar buttons created with CommandBars, you should use Outlook's objects to create an Outlook MailItem.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.slipstick.com/books/jumpstart.htm
Quote:
> Hi,
> I have this problem where i create a mail using mail
> session whereby i will retrieve information from my
> program and send the related information to my recipients
> via email.
> At the same time, i also have a COM object written in VB
> which adds some controls into the form.
> My problem is that why can't i view my so called 'added
> controls' from my COM if i laucnh my mail using this
> method. I mean, the mail form does not contain the
> controls which my COM suppose to add into.
> Is there any known limitation for the mail session method
> of launching a mail that resulted in non being able to
> load any custom controls into the form ?
> If yes, is there any workaround whereby i can still create
> a mail with my information set into the mail and also the
> controls that are supposed to be added by my COM is
> available ?
> Any help and advise will be aprreciated
> Thanks
> TheanKeong