Continuing the discussion from How to get the filename of attachment?:
the above mentioned method doesn’t works for me i am trying to accessing the single attachment from each mail and trying to get the name of the attachment. but it shows me the error of
“Assign: Object reference not set to an instance of an object.”
i am assigning the attachment name to a string and also converting from mail messages to string.
kindly help me out from this. Here I am attaching the screen short.