PC Review


Reply
Thread Tools Rate Thread

how to delete forwarding with vba script

 
 
Martin Lause
Guest
Posts: n/a
 
      4th Nov 2004
Hello,

i have made a routine to set forwarding adress by script.
This is no Problem for me, but how can i delete the forwarding
is there a other attribut to set, because setting the attribut altRecipient
to nothing donīt
delete the forwarding.


set forwarding:

While Not RS.EOF
Set objUser = GetObject(RS.Fields("adspath"))
Dim Namew As String
Namew = RS2.Fields("adspath")
Namew = Replace(Namew, "Ldap://", "")
objUser.altRecipient = Namew
If copy = 0 Then
objUser.deliverAndRedirect = False
Else
objUser.deliverAndRedirect = True
End If
objUser.SetInfo

RS.MoveNext

delete forwarding: ??????????????????????????



 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete FROM on forwarding a contact A.J. Microsoft Outlook Contacts 0 16th Oct 2009 04:41 AM
Script to change the Format to HTML when replying/forwarding mails Vampire Microsoft Outlook VBA Programming 4 23rd Oct 2008 07:24 PM
Need help with Outlook 2003 mail forwarding VB script =?Utf-8?B?Sk1pbmFoYW4=?= Microsoft Outlook Discussion 0 2nd Feb 2007 09:23 PM
Delete E-Mail when Forwarding =?Utf-8?B?S2Fnc3k=?= Microsoft Outlook Discussion 3 28th Apr 2005 04:05 PM
SPAM toolbar button and forwarding script GB Microsoft Outlook VBA Programming 0 2nd Jan 2004 08:23 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:48 PM.