How to send image as attachment using Mandrill API in iOS - objective-c

I am integrating Mandrill API to send emails from iOS. I m unable to send image as attachment with email. I am using api/1.0/messages/send.json with proper images JSON described in their doc. I have encode image to base64 string as well but when I send it I just get email without attachment.

Related

Cannot Send Video Files Using Twilio's Whatsapp API

I am Currently on a Project Which Captures a Video Detects for a Light Source in it and if The source Exists The Video gets Recorded and saved in cloudinary.com,
What I did after was i passed the cloudinary url into the media_url of twilio create function,
There are no error codes in the response, the status is 'queued' and The dashboard at twilio shows nothing.
Where Would The Problem Be?

DocuSign CLM download PDF document

I'm following the api documentation trying to download a pdf document into PDF. I'm trying to simulate this in Postman first, before delving in code.
I have used many of their apis successfully, but can't get the download one. The docs say to download a document by id:
https://apidocsqana11.springcm.com/apidocs#!/Content/Content_Get
Implementation Notes Specify file type of document (image, PDF) in
ACCEPT header. Do not specify an ACCEPT header for native format
Response Class string
Response Content Type: application/json
So, I tried adding Accept and content-type as application/pdf in my postman to see if I will get a pdf document, but keep getting the response as normal json. I'm trying to get back a pdf doc not json response.

How to attach files like excel,word ,image,pdf etc to Hangouts chat on button click

I am trying to send a object as response from python to Hangouts chat which in turn should be converted to excel for downloading
As of now i am just returning a html content as response with hard coded value

How to get the url of the image i just posted on twitter?

I am working on app where i need to post some text with Image to the twitter so with the nes ios twitter API's it's pretty simple and straight forward but now i want to send the url of the image posted in an email. But i can't figure out how to get the url of the image which is showing on twitter.
Thanks,
It seems that the new framework doesn't return the response data after posting the tweet with media. Probably you have to use the TWRequest to fetch the newest user_timeline and get the link inside the response data.
But if you use other framework to post tweet with image, you can get the link from the response data when the upload is success
https://dev.twitter.com/docs/api/1/post/statuses/update_with_media

Attachment in mail client for ipad

I am trying to build a mail client app. for ipad that allows you to attach files.
Currently this feature is not supported by native mail.app
I checked some app like good reader and pdf reader lite that allows you to send one file in your email.
They embed the pdf file in the body of email.
So my question is, how are they doing it.
Are they using any kind of APIs(which one) or are are they embeding the pdf in HTML?
Thanx.
http://developer.apple.com/library/ios/#documentation/MessageUI/Reference/MFMailComposeViewController_class/Reference/Reference.html
The method you are looking for is addAttachmentData: