msoutlook.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problems using SentonBehalfofName-Property

 
Post new topic   Reply to topic    msoutlook.org Forum Index -> Outlook Program VBA
Author Message
wolle



Joined: 19 Feb 2008
Posts: 1

PostPosted: Tue Feb 19, 2008 6:10 am    Post subject: Problems using SentonBehalfofName-Property Reply with quote

Hi everybody,

I' ve got problems, using the the SentonBehalfofNamer-Property programming
in Outlook-VBA:

Environment:
Win XP SP2, Office Outlook 2002 SP3
Win 2000 Server SP4, Exchange 2000 Enterprise

I have several mailboxes with different mail-adresses at the
Exchange-Server, every mailbox with sending-permission. When I choose a
different outgoing mailadress than the default mailadress in the from field
of a new email and the VBA-Program clears the SentonBehalfofName-Property in
the Application.ItemSend-Event, the mail reaches the recipients with my
default mailadress. When the from field in a new email is leaved blank and
the SentonBehalfofName-Property is set to an different mailbox with
sending-permission to me, the mail also reaches the recipients with my
default mailadress and not as i expectet it like on
behalf of .

Why does the Exchange-Server ignore the Values that are et to the
SentonBehalfofName-Property? Thanks for your answers!
Wolle

Archived from group: microsoft>public>outlook>program_vba
Back to top
View user's profile Send private message
Ken Slovak - [MVP - Outlo



Joined: 12 Aug 2007
Posts: 405

PostPosted: Tue Feb 19, 2008 2:14 pm    Post subject: Re: Problems using SentonBehalfofName-Property Reply with quote

Why are you clearing SentOnBehalfOf if you want it used? You need valid
recipient addresses in both From and SentOnBehalfOf.

--
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


"wolle" wrote in message @microsoft.com...
> Hi everybody,
>
> I' ve got problems, using the the SentonBehalfofNamer-Property programming
> in Outlook-VBA:
>
> Environment:
> Win XP SP2, Office Outlook 2002 SP3
> Win 2000 Server SP4, Exchange 2000 Enterprise
>
> I have several mailboxes with different mail-adresses at the
> Exchange-Server, every mailbox with sending-permission. When I choose a
> different outgoing mailadress than the default mailadress in the from
> field
> of a new email and the VBA-Program clears the SentonBehalfofName-Property
> in
> the Application.ItemSend-Event, the mail reaches the recipients with my
> default mailadress. When the from field in a new email is leaved blank and
> the SentonBehalfofName-Property is set to an different mailbox with
> sending-permission to me, the mail also reaches the recipients with my
> default mailadress and not as i expectet it like on
> behalf of .
>
> Why does the Exchange-Server ignore the Values that are et to the
> SentonBehalfofName-Property? Thanks for your answers!
> Wolle

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Migration from CDO 1.2 to OOM2007: field/property handling?? Hi, I have to migrate an existing application (VB6) to Outlook 2007. Currently, it uses CDO 1.21. From now on OOM 2007 is to be used. The essence of the code: Const As String = "IPM.Task" Const CdoPropSetID2 As String =

PR_MESSAGE_DELIVERY_TIME property A while back I posted about creating a Readme in a public folder and keeping it at the top of the view by changing using Outlookspy. I can't seem to perform this change anymore. With the message selected I select IMessage, select

Problems moving an email to another folder Hi I'm a bit new to VBA with Outlook so I'd appreciate any help. I have a routine that saves the attachments of certain emails based on the subject. Then I'd like to move the emails to another folder in a different pst file. The attachments are saving fi

Can't bind to a usercontrol property Hi folks, I have a VB6 user control that I put on an Outlook form. I'd like to syncronize an Outllok item's property and usercontrol value. But I get an "Application internal error" when I get into the usercontrol property page and select a property I wan

Changing Mailitem property Hi - I'd like to create a really simple macro that sets the mailitem property to true, ie so that a message will not be saved when it is sent. I normally have Save turned on by default, but I'd like to have a toolbar button to quickly tu
Post new topic   Reply to topic    msoutlook.org Forum Index -> Outlook Program VBA All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group