uploading a file to e-mail attachment using java/jsp - email

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..

Related

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.

Attach file from web page directly into an Outlook 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?

Send email with content without using webservice in iPhone app

In my app I need to send the email to the mail id provided by the user with predefined content.
This has to be done internally without the interaction of the user i.e, as soon as user enters email id in the provided textfield and clicks send button, the mail with content has to sent to that mail-id.
Can this be done without using any webservice. Please help me out in this.
Thanks in advance,
Hanu
I have achieved this with SMKSMTPMessage - a library that allows you to send an email with attachments if required from code, without any user interaction required