This time got an email but attachment again missing. Got an email with this line -> “No file in the Queue”
were there files in the path “C:\Users\ankitpar\Desktop\Digipoort*.xml” ? if so try just calling the Send-email_File to check that that works with sending all of the attachments in that Directory
also on your If ($path -eq “True”) I think it should be If ($path -eq $True)
Simon,
Finally the issue is solved. the issue was the file name was new.txt.txt and i am mentioning in script only new.txt. Actually I caught this later when I have checked the “File name extensions” tab in “View” and after that problem was solved.
Thanks a lot for your time.
Deep,
Finally the issue is solved. the issue was the file name was new.txt.txt and i am mentioning in script only new.txt. Actually I caught this later when I have checked the “File name extensions” tab in “View” and after that problem was solved.
Thanks a lot for your time and efforts.
Glad it is working now
Cool ![]()