LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sending email and deleting files

Solved!
Go to solution

Hi I have simplify this for a better help. Could someone run this and tell me where the error is coming from?

 

Thank you.

0 Kudos
Message 11 of 23
(1,305 Views)

I tried it, error 5.

Its still from the attachment case structure. If you disable the case structure, it successfully deletes the file. I would assume that the attachment process is not releasing the file.

 


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 12 of 23
(1,297 Views)

Yes I think the problem is comming from there, but I don't see how to solve it.  I don't really see how can I close the file after the attachement processess.

0 Kudos
Message 13 of 23
(1,294 Views)

So as I can't solve the attachment issue, I was thinking about solving the email body issue. In my previous attachment, I am trying to read from a file and get that file content and use it as my email body. But when doing that, I get only the last characted read sent to the email body and not the all content. what can I do to sent the all file content to the email body?

 

Thank you

 

0 Kudos
Message 14 of 23
(1,290 Views)
Solution
Accepted by topic author agyna

Here you go, all your issues sorted. Works for me. My gmail inbox is full of test mails!


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 15 of 23
(1,282 Views)

I found something in another thread that might be the cause of the issue you are having trying to delete the file.

 

 

=====================
LabVIEW 2012