I have web application to send email from OneDrive location. I have obtained a user consent and access token from Ms Live site. I am trying to implement process where user clicks on 'browse' button, they should see list of files which are in onedrive. User selects file from there and clicks on 'Send Email' button in web page which should invoke the downloading of selected file silently and send that to email address provided by user.
At the moment onedrive sends download link to get file content. Does anyone knows how to get file content in bytes using REST API as I don't want the user to download the file in their local machine. Please help!
It sounds like you plan on sending the selected OneDrive file as an attachment in email (right?). This could be tricky if you don't want the file to be downloaded locally.
Maybe you could consider sending a link to the selected OneDrive file in the email instead. This way, the email recipient will be able to download the file directly from the sender's OneDrive.
Related
I have a web app that generates pdf reports. Currently users can send this generated report to email addresses from within the web app. The recipient email addresses receive an email with the pdf as an attachment.
However, now the users have requested the ability to drag the generated pdf report from within the web app directly into an outlook email, similarly to when you drag a file from windows explorer into an email. It will then add the file to the email as an attachment and they can send it to whoever they like. Is this possible?
If drag and drop is not possible is there any other way at all that a user can attach a file to outlook directly from a webpage?
I'm looking at incorporating an simple ftp upload tool on the site that will enable clients to select the branch they want to send it to who is turn would get an email to notify them of the upload and instructions.
Do you have any suggestions?
I have a User Interface where user can capture a image and make some comment.. after this user need to send a captured image via mail account(gmail, yahoo, MS outlook).. As user captures the image and press the save button the captured image should get attach to mail accounts attachment part.
for eg. by selecting attachment tag of gmail it allows to attach file, image ...
Like wise In my case that attachment should be done from externally..
if user is already logged in to mail account, my application should directly open compose new mail of mail account with the captured image..!
if not logged in first it should ask for logging to mail account and once logged in compose mail with captured image attached should come..
Can i find any help.. Thanks in advance..
I have generated excelsheet using jexcel api on download button but now I want to save it on webapp folder like webapp/excel/report.xls.
so that further i can use it to attach with email.
Any ideas to achieve this task?
You should probably save it to a temporary file if you need to save it at all. Google JavaMail to see how to send emails. Sending emails has nothing to do with Wicket btw.
I am programmatically "reading" emails using WebDav. I am also deleting these emails when I've finished having my way with them, however, this is causing an interesting problem. Each time I delete an email the original sender is getting a not read response. I have logged into Outlook Web App and checked the option Do not automatically send a response but this doesn't seem to help.
Is there ANY way to remove the request for read receipt from the email before deleting it?
We decided that we didn't want to make any modifications to our server and a solution that could be implemented in my existing program would be the most ideal.
I read on a few sites if the email was marked as read through IMAP commands on the exchange server that the read receipt would not be sent when deleted/opened via the client (Outlook Web App or Outlook). So that is what we did:
Logged into email server via IMAP
. LOGIN user#mailserver.com password
Selected the folder to process
. SELECT Inbox
Made the changes to all emails in the folder
. STORE 1:* flags \SEEN
This sequence marks all the emails in the inbox as read, which then allows my program to delete the emails after processing without a receipt being generated.