0

My requirement is to upload a picture taken in my iOS device to dropbox and then share the link to that picture to a given mail address.

Using the DBRestClient delegate methods I am able to get the link for the uploaded file.

Now,I want to send this link to a mail and I want this to happen in Dropbox itself so that I don't have to use MFMailViewController

Is there any way to achieve this?

Sekhar
  • 341
  • 2
  • 13
  • Why don't you want to use `MFMailViewController`? You don't want your user to know that you're piping these e-mails off? You don't want your user to control what the e-mail says/looks like at all? – esqew Jul 25 '14 at 12:54
  • its just an image and the user will be sending it to the same mail he opted for.so i thought it will be better like this so that the user won't be forced to review the same thing again and again. – Sekhar Jul 25 '14 at 13:13
  • In that case, you'll probably be better off doing this on a server backend. – esqew Jul 25 '14 at 13:17

1 Answers1

0

You can't. Dropbox-API isn't supporting this feature (yet).

You can try sending your mail via a smtp server, if you really want to avoid user interaction. An example how to do this is available here.

Community
  • 1
  • 1
latonz
  • 1,601
  • 10
  • 21