Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / April 2005

Tip: Looking for answers? Try searching our database.

Inspector Wrapper Classes for Outlook 2003 & SMTP

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Trin - 29 Apr 2005 15:21 GMT
Pretty new to Outlook plugins and developing with VB6.

I need some pointers on how to create a success inspector wrapper class
where I can have multiple instances of inpectors open at the same time and
when I click on my new "Send" button it will only send the current
inspector and not try to send all other inspectors.  What should I be
looking out for, what id's should I be checking etc.  

I have a working wrapper class but with the exception of when I click my
"send" button all the open inspectors are sent as well.  I don't feel
comfortable with the inspector class that I have found from another site
and would like to know what is important to creating a proper wrapper for
an olMail inspector.

On another note, when I click my "Send" button is there a way I can get the
smpt server used before the email has officially left my computer?  Perhaps
somewhere in the MailItem heading data or by using a WithEvents to trap the
mail going out?  I don't know what the object model is access this
information.

Your assistance is much appreciated.
Dmitry Streblechenko - 29 Apr 2005 21:34 GMT
Make sure you set the Tag property to a unique string for all instances of
your button.
As for the account, Outlook sets a couple of named props (account name and
id) if an account other than the default one is to be used.
You can access these properties using CDO 1.21 or Redemption - look at a
message in the Sent Items folder with MdbView or OutlookSpy (click IMessage)
to see what I mean.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool

> Pretty new to Outlook plugins and developing with VB6.
>
[quoted text clipped - 20 lines]
>
> Your assistance is much appreciated.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.