![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Is there a way I can get the From field value, when I send the email?
using the ItemSend when i send the email, i can check the to, subject etc. using Item.To, Item.Subject etc. but I can't read the From value. I would need to check if that's empty (like normally when sending from my mailbox) or if it has something in it (normally when I send email from resource mailbox), and based on which one, I run the code before it send the email. Any way to check this? Thanks! |
Ads |
#3
|
|||
|
|||
![]()
The sending process is not finished until after that event completes. You'll
be better off choosing which account to use first with code, if your process can accomodate such an action. See this for more info: TIP: Fun with Outlook CommandBars: http://www.outlookcode.com/d/tips/commandbarfun.htm -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Jani Lehti" wrote: Is there a way I can get the From field value, when I send the email? using the ItemSend when i send the email, i can check the to, subject etc. using Item.To, Item.Subject etc. but I can't read the From value. I would need to check if that's empty (like normally when sending from my mailbox) or if it has something in it (normally when I send email from resource mailbox), and based on which one, I run the code before it send the email. Any way to check this? Thanks! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
My inbox displays the TO: field instead of the FROM: field. | Dave | Outlook - Installation | 2 | March 28th 08 07:46 AM |
"Percent" field changed to "Number" field | Vaughan | Outlook - Using Forms | 1 | March 14th 06 02:32 PM |
Adding Follow Up field to Field Chooser Programatically. | c | Outlook and VBA | 3 | February 25th 06 03:10 PM |
Populate Company field from Contact field in custom task form | Sue Mosher [MVP-Outlook] | Outlook - Using Forms | 0 | January 20th 06 08:37 PM |
rename 'User Field 1' field ? | E-Double | Outlook - Installation | 1 | January 16th 06 04:38 PM |