PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming sent on behalf of

Reply

sent on behalf of

 
Thread Tools Rate Thread
Old 03-03-2005, 11:52 AM   #1
VilMarci
Guest
 
Posts: n/a
Default sent on behalf of


Hi,

I know there's no rule option like "sent on behalf of..."
Is there any way to do a workaround like checking the "sent items" folder
after a mail is sent?

Simply I need to have the effect like:

If a mail is sent on behalf of user xxx then move the mail from sent items
to the SentOnBehalfOfUserXxxx folder...

Could you please help?

Thanks,
Marton


  Reply With Quote
Old 08-03-2005, 09:18 AM   #2
VilMarci
Guest
 
Posts: n/a
Default Re: sent on behalf of

Hi,

No ideas?

Marton


  Reply With Quote
Old 09-03-2005, 10:38 AM   #3
Michael Bauer
Guest
 
Posts: n/a
Default Re: sent on behalf of

Hi Marton,

just check the item´s SendOnBehalfOfName property in the SendItem´s
ItemAdd event. Sue has a function that returns a refenrence on a folder
by its path which you can use:
http://www.outlookcode.com/d/code/getfolder.htm


--
Viele Grüße
Michael Bauer


"VilMarci" <dontsend@here.com> wrote in message
news:OdI9wd#HFHA.3608@TK2MSFTNGP14.phx.gbl...
> Hi,
>
> I know there's no rule option like "sent on behalf of..."
> Is there any way to do a workaround like checking the "sent items"

folder
> after a mail is sent?
>
> Simply I need to have the effect like:
>
> If a mail is sent on behalf of user xxx then move the mail from sent

items
> to the SentOnBehalfOfUserXxxx folder...
>
> Could you please help?
>
> Thanks,
> Marton
>
>


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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