May I know which activity you were using
Hi Palani thanks for the quick response bro.
I am using the Save Attachment. But here I am using the while loop bro. Bcz I am reading the first oldest email. So I am not using the For Each Loop here.
Can I have a view on the save attachment activity with a screenshot if possible
Bro It executed fine, but not saving the attachment.
My Folder is
see here bro…It will execute fine but saving the attachment, Even this email contain one attachment.
Is this folder inside project folder ?
But it save only when we gave the full folder path. But the folder is inside the project only.
Are you getting any error ?
Could you tell me the steps you followed here ?
Fine check with these stuffs pls
—is “Attachments” folder is created in your project folder and if not kindly create it
—then we need to check ether the mailmessage list is first fetched
And to validate that use a write line activity before the while loop and mention as MailMessage.count.ToString which will give us count
—and even though if it gives us the mail message count more than zero we need to check whether there is any attachment in those mails
—for that we need to validate like Mailmessage(N).Attachments.Any.ToString within a write line activity before to the save attachment activity which will give us a Boolean output either as true or false and even better place it in a IF condition with condition like this
If true it will get into THEN part where we can keep our Save attachment activity
Kindly try these and let know for any queries or clarification
Remove .ToString and mention like this
my bad showing error bcz of . after any
Thanks a lot it’s worked bro.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.