Attach file from web page directly into an Outlook email - email

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?

Related

How can I create a url to open a gmail email using Gmail API if I know its(email) id?

I am using gmail and want to open already sent email in separate window by URL. I have that email's id, got it using GMAIL API.
So the question is, how can i create a url to open a gmail email using Gmail API if I know its id?
What I tried:
if you know id of draft in gmail you can open it in separate window using compose
https://mail.google.com/mail/u/0/#drafts?compose=new <- here need to change new to id of needed email for example https://mail.google.com/mail/u/0/#drafts?compose=msg-a:r8357142279172082424
and it will open it. But this thing only works for drafts not for example Sent emails

How do I send an email with a PDF attachment not from the user's email in Swift?

I have app where the user can enter some information, after which it generates into a PDF. I would like the user then be able to send that PDF to people via email, but not from their own email. EX: Say my app's name was Chair and I have a support#chair.com email address. I would want the PDF to be sent to the recipients from that support#chair.com email.
I've looked at the Gmail SDK but it looks like that it only lets you do Gmail sign-in. I also looked at MailCore, but it hasn't been updated for a long time and I don't think it supports Swift.
I was able to get this tutorial to work for those who are reading this:
https://www.youtube.com/watch?v=NkpLqNN8xtU

Email tracked when sender opens the email

I am working on tracking emails using pixel image. It is tracking the email and increasing the read count when the receiver is opening the email.
The issue is, it is also tracking the email and increasing the read count when the sender is opening the email.
What should I do so that the email is tracked only when the receiver opens the email?
Thanks in advance!
A sender can open an email which normally gets saved in his/her Sent folder.
Suppose an email is send by a sender. Then a copy of this email would normally be saved in Sent folder of sender. Now, a copy of email is saved in Sent folder via IMAP or proprietary WebMail or Mobile Application. You can easily embed appropriate pixel image in email when it gets saved in Sent folder via WebMail or Mobile Application because you yourself create the email MIME. When email is saved in Sent folder via IMAP, then you might need to parse the email MIME and embed appropriate pixel image in email which is send by IMAP Client to be saved in Sent folder.
*Modifying the email saved in folder via IMAP Client is normally not done.

Download onedrive file content in bytes using rest api?

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.

Possible to send SQL Reporting Services report in email format with a duplicate pdf attachment?

Our system sends a "Daily Update" email via Reporting Services to all users each morning. If people are on a computer there's no issue. But, for users on the go, some mobile device email clients can't render the email. However, they can all render pdf files.
So... the quick fix was to create two subscriptions for each user; one with the message in the body and one with the message in an attached pdf. This creates an annoying amount of friction. I'd love to send a single email with the message in the body a duplicate pdf version attached.
Is there a simple solution?
FYI, we're managing this through Reporting Services Subscriptions.
By default, no: you can't have both formats in one email
The report "render format" determines whether inline or attached if you check "Include Report". So setting to "PDF" will generate an attachment. However, if you check "Include Link" for PDF rendering then folk can click and go to the report served by the Web site.
Otherwise, you'd have to write some small app that calls the ReportServer service and gets both report formats and combine into one email. Or write your own custom delivery extension
I think it is better to use Database Mail. You can manage it to send e-mail or SMS or even both of them to your subscribtion list.
I'm not sure that you can send a single email with the message in the body a duplicate pdf version attached.
If I understood it correctly, you want to send an email with attachment in pdf and this pdf will have same text/data as that in email body, right?
If that is the case then don't you think "Include Report" with "Render Format" in PDF will give you desired result?