PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
how to delete forwarding with vba script
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
how to delete forwarding with vba script
![]() |
how to delete forwarding with vba script |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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: ?????????????????????????? |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

