PC Review


Reply
Thread Tools Rate Thread

assigning accoutn name to a variable

 
 
graatje
Guest
Posts: n/a
 
      27th Jul 2005
Is there a possibility to assign the account name to a variable? I want to
check with which account the mail is sent, and depending on that account to
copy the sent mail.


 
Reply With Quote
 
 
 
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      30th Jul 2005
Accounts are not exposed through the Outlook Object Model. If an account
other than the default one is being used, you can check a couple of named
properties using Extended MAPI/CDO 1.21/Redemption; Outlook stores account
name and id in these propertires - look at a message with MdbView/OutlookSpy
to see them.

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

"graatje" <(E-Mail Removed)> wrote in message
news:dc8mff$ma5$(E-Mail Removed)...
> Is there a possibility to assign the account name to a variable? I want to
> check with which account the mail is sent, and depending on that account
> to
> copy the sent mail.
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Assigning a Variable to an Expression that Includes a Variable andVBA Property bluebird Microsoft Excel Programming 3 27th Apr 2009 07:38 AM
Assigning a variable Zack Microsoft Excel Worksheet Functions 3 11th Dec 2008 07:00 PM
Assigning a min to a variable Ed Microsoft Excel Programming 1 3rd Aug 2006 06:05 PM
Assigning a row to a variable Todd Microsoft Excel Programming 4 10th Jun 2004 06:49 PM
assigning variable value drew raj Microsoft Excel Worksheet Functions 1 27th Jul 2003 12:14 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:57 PM.