i have macro running on outlook checking what is the attachment pathname.
but path name is empty.
dose anyone know how to get the pathname.
here is the function
For Each oAttach In objMailItme.Attachments
sPath = oAttach.PathName 'here is my problem oAttach.PathName is empty
If InStr(sPath, "\\MyServer\MyDataFolders\MyEmailAttachmentFolder") = 0 Then
CheckAttachment = False
MsgBox "Attachment is not from a valid Path"