A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Custom Form Send Permissions



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old December 15th 06, 03:50 AM posted to microsoft.public.outlook.program_vba
Boyd
external usenet poster
 
Posts: 21
Default Custom Form Send Permissions

Thanks Sue, I appreciate the prompt reply.
With "Item.SendOnBehalfOfName" behind my submit button, I receive the
following error: "Object doesn't support this property or method".
Any ideas??

Boyd

  #2  
Old December 15th 06, 05:03 AM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Custom Form Send Permissions

It is SentOnBehalfOfName

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

"Boyd" wrote in message oups.com...
Thanks Sue, I appreciate the prompt reply.
With "Item.SendOnBehalfOfName" behind my submit button, I receive the
following error: "Object doesn't support this property or method".
Any ideas??

Boyd

  #3  
Old December 15th 06, 01:54 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Custom Form Send Permissions

Thanks! (The object browser is your friend, Boyd.)

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Dmitry Streblechenko" wrote in message ...
It is SentOnBehalfOfName

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

"Boyd" wrote in message oups.com...
Thanks Sue, I appreciate the prompt reply.
With "Item.SendOnBehalfOfName" behind my submit button, I receive the
following error: "Object doesn't support this property or method".
Any ideas??

Boyd

  #4  
Old December 15th 06, 07:21 PM posted to microsoft.public.outlook.program_vba
Boyd
external usenet poster
 
Posts: 21
Default Custom Form Send Permissions

Thanks Sue and Dmitry!
Using "SentOnBehalfOfName" seems to work perfectly.

Boyd

Sue Mosher [MVP-Outlook] wrote:
Thanks! (The object browser is your friend, Boyd.)

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Dmitry Streblechenko" wrote in message ...
It is SentOnBehalfOfName

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

"Boyd" wrote in message oups.com...
Thanks Sue, I appreciate the prompt reply.
With "Item.SendOnBehalfOfName" behind my submit button, I receive the
following error: "Object doesn't support this property or method".
Any ideas??

Boyd


  #5  
Old January 29th 07, 07:37 PM posted to microsoft.public.outlook.program_vba
Boyd
external usenet poster
 
Posts: 21
Default Custom Form Send Permissions

I'm running into another snag when using "SentOnBehalfOfName". My
custom form isn't responding to it consistently. My command button
has the following code within the Click event:
Set objPage = Item.GetInspector.ModifiedFormPages("Message")
Item.SentOnBehalfOfName = Item.UserProperties("To")
Item.To = "
Item.Send

I had a user who received an "undeliverable" message when clicking the
button, then tried clicking again, and the form sent without a
problem.
Is it possible that the value in the "To" field (which has resolved to
the users account name, not the email address) isn't being recognized
by the Exchange server? Is it better practice to use the actual
address, instead of the resolved name?

Any help is appreciated.
Thanks, Boyd


On Dec 15 2006, 1:21 pm, "Boyd" wrote:
Thanks Sue and Dmitry!
Using "SentOnBehalfOfName" seems to work perfectly.

Boyd



Sue Mosher [MVP-Outlook] wrote:
Thanks! (The object browser is your friend,Boyd.)


--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Dmitry Streblechenko" wrote in . ..
It isSentOnBehalfOfName


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


"Boyd" wrote in ooglegroups.com...
Thanks Sue, I appreciate the prompt reply.
With "Item.SendOnBehalfOfName" behind my submit button, I receive the
following error: "Object doesn't support this property or method".
Any ideas??


Boyd- Hide quoted text -- Show quoted text -


  #6  
Old January 29th 07, 09:19 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Custom Form Send Permissions

If you are using a name, you indeed can get error, even if the name come
from GAL due to ambiguity: e.g. if you specify "admin" and you have users
named "admin" and "administrator", you will get an ambiguous error.
Addresses are definitely better.

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

"Boyd" wrote in message
oups.com...
I'm running into another snag when using "SentOnBehalfOfName". My
custom form isn't responding to it consistently. My command button
has the following code within the Click event:
Set objPage = Item.GetInspector.ModifiedFormPages("Message")
Item.SentOnBehalfOfName = Item.UserProperties("To")
Item.To = "
Item.Send

I had a user who received an "undeliverable" message when clicking the
button, then tried clicking again, and the form sent without a
problem.
Is it possible that the value in the "To" field (which has resolved to
the users account name, not the email address) isn't being recognized
by the Exchange server? Is it better practice to use the actual
address, instead of the resolved name?

Any help is appreciated.
Thanks, Boyd


On Dec 15 2006, 1:21 pm, "Boyd" wrote:
Thanks Sue and Dmitry!
Using "SentOnBehalfOfName" seems to work perfectly.

Boyd



Sue Mosher [MVP-Outlook] wrote:
Thanks! (The object browser is your friend,Boyd.)


--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Dmitry Streblechenko" wrote in
. ..
It isSentOnBehalfOfName


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


"Boyd" wrote in
ooglegroups.com...
Thanks Sue, I appreciate the prompt reply.
With "Item.SendOnBehalfOfName" behind my submit button, I receive the
following error: "Object doesn't support this property or method".
Any ideas??


Boyd- Hide quoted text -- Show quoted text -




  #7  
Old January 30th 07, 07:58 PM posted to microsoft.public.outlook.program_vba
Boyd
external usenet poster
 
Posts: 21
Default Custom Form Send Permissions

Thanks Dmitry. I changed the "SentOnBehalfOfName" to the user's email
address, instead of the outlook account name, but the user is still
receiving the returned "undeliverable" message.

Does anyone have an example using "SentOnBehalfOfName" that works for
them? I really want to avoid adding every possible user as a delegate
to my Inbox.

Thanks,
Boyd

On Jan 29, 3:19 pm, "Dmitry Streblechenko" wrote:
If you are using a name, you indeed can get error, even if the name come
from GAL due to ambiguity: e.g. if you specify "admin" and you have users
named "admin" and "administrator", you will get an ambiguous error.
Addresses are definitely better.

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

"Boyd" wrote in ooglegroups.com...



I'm running into another snag when using "SentOnBehalfOfName". My
custom form isn't responding to it consistently. My command button
has the following code within the Click event:
Set objPage = Item.GetInspector.ModifiedFormPages("Message")
Item.SentOnBehalfOfName = Item.UserProperties("To")
Item.To = "
Item.Send


I had a user who received an "undeliverable" message when clicking the
button, then tried clicking again, and the form sent without a
problem.
Is it possible that the value in the "To" field (which has resolved to
the users account name, not the email address) isn't being recognized
by the Exchange server? Is it better practice to use the actual
address, instead of the resolved name?


Any help is appreciated.
Thanks, Boyd


On Dec 15 2006, 1:21 pm, "Boyd" wrote:
Thanks Sue and Dmitry!
Using "SentOnBehalfOfName" seems to work perfectly.


Boyd


Sue Mosher [MVP-Outlook] wrote:
Thanks! (The object browser is your friend,Boyd.)


--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Dmitry Streblechenko" wrote in
. ..
It isSentOnBehalfOfName


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


"Boyd" wrote in
ooglegroups.com...
Thanks Sue, I appreciate the prompt reply.
With "Item.SendOnBehalfOfName" behind my submit button, I receive the
following error: "Object doesn't support this property or method".
Any ideas??


Boyd- Hide quoted text -- Show quoted text -- Hide quoted text -- Show quoted text -


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
automatically send e-mail when closing a custom outlook form Keefo Outlook - Using Forms 1 May 27th 06 03:22 PM
Custom Forms Permissions Rachel Weseman Outlook - Using Forms 1 January 24th 06 11:48 PM
I send an Outlook custom form, but a std. form displays? Sue Mosher [MVP-Outlook] Outlook - Using Forms 0 January 20th 06 08:41 PM
Change Default Send email form to Custom Send email Form Sue Mosher [MVP-Outlook] Outlook - Using Forms 0 January 20th 06 06:33 PM
Unable to send my custom form in Outlook 2003 Hayley Outlook - Using Forms 2 January 20th 06 06:28 PM


All times are GMT +1. The time now is 11:38 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.