Hello, I don't have much experience with JAVA mail programming and I need help with one task.
I have this code (this is a part of all code; if you need to see whole code, I can send) and I need to write an attachment size to a new variable and then write that size to a table. I searched the web and found out that size could be get from getSize() function or by counting bytes of file but I don't know how can I write this codes.
Thanks in advance.