Hi All,
I wanna process Email that has at least 1 attachment. For those email that has 0 attachment just ignored. How can I check if there is any attachment in the email and process if attachment.count >1
thx
Hi All,
I wanna process Email that has at least 1 attachment. For those email that has 0 attachment just ignored. How can I check if there is any attachment in the email and process if attachment.count >1
thx
Hi @mason_wong
Use below syntax for checking how many attachments are there.
mailmsg.Attachments.Count = 1
Regards
Roshan
Mark as solution if found useful
The type Arguement will be System.Net.Mail.MailMessage.
ListMailMessages in the output from Read outlook Emails - List
ā
Mukesh
Hi, thank you for your answering. but Im still stuck here. can you give me an example to show how to do it? thx
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.