Problem with invalid digital signature

R

Ramana

Hi,
I am working on a samll vbscript application which will read all the mail
items in folder.

here is the sample code block
For Each item in folder.Items

Set ObjItem = item

****Some code to prepare the file path****

objSafeMailItem.SaveAs strFilePath, 3

next

If Err.Number <> 0 Then

LogStdWarn (Err.Number & " : " & Err.Source & " : " & Err.Description)

LogStdWarn (" " & "For each Loop Failed")

Err.Clear

End if

I ahve few mails in my folder which are having invalid signature and I am
getting popup dialog when I open these mails from outlook application.

The above script is working fine in interactive mode with out any pop
dialogs, but it is not working as scheduled task (unattended mode)

When it reaches the mail with invalid digital signature, it is comming out
from the for each block and I am getting different error at different times.

I am getting the following errors.

1) -2147417851 : :

2) -1940651755 : :

3) -2147023898 : :

Any idea on how to get these items?



Advance thanks,
Ramana
 
Top