download attachment from email to folder
Please help me to save attchments with a specific extension name from email.
I tried to use the function of "Email-retrieve", but it keeping erroring like "MailKit.Net.Imap.ImapCommandException: The IMAP server replied to the 'SELECT' command with a 'NO' response: SELECT Unsafe Login. Please contact firstname.lastname@example.org for help"
I have already set the authorization code in email.
I put the script of the process below. Hope you can help me to solve it!
Thanks a lot!