![]() |
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
|
|||
|
|||
![]()
Hi,
I have designed a message form in Outlook 2002. I use a clickable 'Submit' button. De code is (thanks Sue) Sub Submit_Click() " Item.Send End Sub Now I want every time a user sends the form he receives a copy to his own mailbox. (For other reasons I cannot use the Sent Items for that) So what has to be the variabele for: email address sender. Sub Submit_Click() " Item.BCC= email address sender Item.Send End Sub Thanks in advance, Jan Kuijt |
Ads |
#2
|
|||
|
|||
![]()
You can try Application.Session.CurrentUser.Address but (a) it will give you a security prompt and (b) it won't necessarily work, depending on the type of mail account in use.
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Jan Kuijt" wrote in message ... Hi, I have designed a message form in Outlook 2002. I use a clickable 'Submit' button. De code is (thanks Sue) Sub Submit_Click() " Item.Send End Sub Now I want every time a user sends the form he receives a copy to his own mailbox. (For other reasons I cannot use the Sent Items for that) So what has to be the variabele for: email address sender. Sub Submit_Click() " Item.BCC= email address sender Item.Send End Sub Thanks in advance, Jan Kuijt |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
multiple sender email address for account | fileman | Outlook - General Queries | 5 | October 10th 07 05:55 PM |
Extract sender of emails email address | bony_tony | Outlook and VBA | 3 | March 8th 07 05:53 AM |
how to make all email address in my address book "safe sender"? | ay | Outlook - General Queries | 3 | March 6th 07 10:05 PM |
Remotely setting the "show this address list first" variable for u | Maia | Outlook - Installation | 0 | July 25th 06 08:47 PM |
Adding sender email address to contacts on receipt | czb | Outlook - Using Contacts | 1 | March 20th 06 05:00 PM |