I am creating drag and drop file uploader using jquery. when i tried to drag an email file from ms outlook or apple mailbox and drop into that jsp file ,it's not accepting the email content.
Can anyone help me to resolve this problem?
Your problem is that you're not drag/dropping a file. Try saving the content of the email to a .txt file (or Word, etc), and then uploading.
Related
I am uploading word document using microsoft graph UploadSession. Document uploaded successfully and received uploaded file link which is open in next browser tab using application. But all the data are displays in single line. There is no line breaks or paragraph. How to add content-type to upload and display data as it is in local file or any other way to upload document. I am following these instructions:https://learn.microsoft.com/en-us/graph/sdks/large-file-upload?tabs=java
Any help would be appreciated.
I have a HTML file which has images. I want read this file from local folder like C:/data using java and display it on browser along with images when request comes from client(other than localhost).
I would like to download a pdf file from my android application. I want to download it using jsoup because I have to post username, password and cookies, so I have done it with jsoup. I have check the site adn saw that I have to connect at the login page and post: username,password,cookie and a variable next with the internal link of the pdf file. I have done it with jsoup but now I don't know how to download this file at my android device. I prefer, if it's possible, when it will download to appear on the notification bar of my device.
Thank you in advance!
I am facing a problem.
Is it possible to the save attachment file (.pdf and etc) from gmail to my application. After saved, the file will run directly from my application. After clicked save button in red circled, I wanted to run my application after attachment is saved in my download folder.
Note: I already able to download attachment into download folder.
is it possible to open attached document from outlook using java?
Every hour i receive email with text file attached.
i have to open and extract some data from this text file and store it into another text file.
So what i'm doing is to open the email, then right-click and save the attached file for extracting data it's ok.
How could i do it fastly?
thanks
If you receive your mails using IMAP, then you could write a Java application and use JavaMail to connect to the IMAP server, get the mail, and extract data from the attachments.
You can conntect to Outlook with a COM-wrapper. There are libraries like COM4j. You can access the email, extract the data. But IMAP is much simpler.