Hi Diane! Maybe you can help me out again. I am now receiving attachments but with nothing relevant in the subject line. The attachment name itself contains the ticket number that I need. So I figure I would have to re-direct the script to the attachment name itself and trim the excess...
Thank you for your help! I was able to fix my code shortly after I posted. Like you said, I do not need the script to check for subject for blanks after all. I can even omit the check for attachment since the "rule" that I run already pick up emails that has one ;)
The completed code for the...
Yes i did put the path, I just omitted it in this post to simplify. Sorry about that.
So I added the extension and it looks like it is running. However when I ran it on 5 emails, it resulted in only one PDF (there is one attachment per email) being saved without a name. So I am guessing my...
Thank you for your reply. I am not sure which part does not work. When I run the rule which runs the script, it says something like "Cannot save the file to folder xyz". Not having put the extension might be what is preventing it from saving the file. I will give your suggestion a try as soon as...
Hi everyone
First time poster here. I am trying to edit this script to automatically download attachment(s) from certain emails (based on rules) and rename the attachment to what is in the subject line. The subject line typically says:
"Ticket # 1111111111 Order # 999999999" and I would like...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.