![]() |
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 all,
I use personal Task Item, I added à Button to this task, this button create and send an email, but I uses the identity of the curent user, want to send the mail as the Task Owner (email saved in a field) or distribution list mail ) is there a way to do that ? tks |
#2
|
|||
|
|||
![]()
Outlook version?
If this is Outlook 2007 you can use the new MailItem.SendUsingAccount property to set the sending account, assuming you have permissions to send as that email address and it's one of the Outlook profile's accounts. Otherwise you'd have to use the SentOnBehalfName property. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "bbnimda" wrote in message ... Hi all, I use personal Task Item, I added à Button to this task, this button create and send an email, but I uses the identity of the curent user, want to send the mail as the Task Owner (email saved in a field) or distribution list mail ) is there a way to do that ? tks |
#3
|
|||
|
|||
![]()
Hello Ken,
Unfortunately I'm under Outlook 2003 (Server SBS2003) tks "Ken Slovak - [MVP - Outlook]" a écrit dans le message de news: ... Outlook version? If this is Outlook 2007 you can use the new MailItem.SendUsingAccount property to set the sending account, assuming you have permissions to send as that email address and it's one of the Outlook profile's accounts. Otherwise you'd have to use the SentOnBehalfName property. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "bbnimda" wrote in message ... Hi all, I use personal Task Item, I added à Button to this task, this button create and send an email, but I uses the identity of the curent user, want to send the mail as the Task Owner (email saved in a field) or distribution list mail ) is there a way to do that ? tks |
#4
|
|||
|
|||
![]()
Tks a lot, I work perfectly
but to prevent possible manipulation, Is it possible to hide the "from" field in the mail.... because when my click button create the mail I don't send the mail direcly I use mailItem.Display to alloy the current user to add some text to the mail " a small note Note " to prevent user from adding there anotation to the task is there a way ?? another question Or if this action is not possible, can we make the from field read only tks for your help Ken "Ken Slovak - [MVP - Outlook]" a écrit dans le message de news: ... Outlook version? If this is Outlook 2007 you can use the new MailItem.SendUsingAccount property to set the sending account, assuming you have permissions to send as that email address and it's one of the Outlook profile's accounts. Otherwise you'd have to use the SentOnBehalfName property. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "bbnimda" wrote in message ... Hi all, I use personal Task Item, I added à Button to this task, this button create and send an email, but I uses the identity of the curent user, want to send the mail as the Task Owner (email saved in a field) or distribution list mail ) is there a way to do that ? tks |
#5
|
|||
|
|||
![]()
I suppose you could get the state of the relevant ribbon control using the
CommandBars.GetPressedMso() method from the Office library to see about whether or not the From field is showing and then use ExecuteMso() to toggle it if it is. There's no way to make that field read-only. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "bbnimda" wrote in message ... Tks a lot, I work perfectly but to prevent possible manipulation, Is it possible to hide the "from" field in the mail.... because when my click button create the mail I don't send the mail direcly I use mailItem.Display to alloy the current user to add some text to the mail " a small note Note " to prevent user from adding there anotation to the task is there a way ?? another question Or if this action is not possible, can we make the from field read only tks for your help Ken |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Exchange 2003: The e-mail account does not exist at the organization" when sending to ONE INTERNAL user | KingCronos | Outlook - General Queries | 3 | October 5th 07 01:20 PM |
Is there a way to remove an POP3 email account with a script? | David Roberts | Outlook - Installation | 0 | August 11th 07 01:12 AM |
select e-mail account for sending message | BBran | Outlook - General Queries | 12 | August 3rd 07 05:42 PM |
Create IMAP account in Outlook using Logon Script | Karnifexx | Outlook - General Queries | 1 | January 24th 07 02:18 PM |
how to automate specifying the account to use when sending mail? | admaybhate | Outlook - General Queries | 3 | September 18th 06 12:49 PM |