How can I attach multiple pictures to an email? - iphone-sdk-3.1

How can I attach more than one picture to an email using the iPhone SDK?

Yes.
Just call -addAttachmentData:mimeType:fileName: multiple times.

Related

How to use vba to switch between open tabs in Lotus Notes?

I'm currently trying to generate multiple forms in lotus notes via VBA in a specific database and send them for processing. Due to several notes scripts running when creating/processing the various forms, the only theoretical way that I can imagine this to work would be to have the user open a form, so that the VBA script can tell it to do copies through a button in the form (via the Windows API), then cycle through the open forms, fill them out and submit them one by one.
So far so good, but I'd need to be able to cycle through all the open forms in Notes in order to find the form I want to fill out and set is as active window. I can't seem to find any API that allows a user to go through all the open tabs in a notes window. Would anyone be able to help me on this one, please?
Many thanks in advance.
What you want to do is not possible. There is no way to "cycle" windows via code in Lotus Notes / IBM Notes.
Better turn around your processing: Instead of opening a form for editing just fill it in the backend. Then you don't need Windows API- calls and the Clipboard at all.
of course you can open the filled form afterwards to let the user fill in additional information, but this is not necessary at all as you can also save the document in backend.

Multiple E-mail preview

I need to send multiple e-mails but I want to check content before sending them.
To do this I tryed by using WebBrowser and a MsgBox confirmation but I can't scroll the WebBrowser as long as the MsgBox is displayed.
I also tryed by using WebBrowser into another Form but I wasn't able to pause-resume the loop for sending e-mails.
Can anyone suggest me the correct way? (if possible with a sample code or a tutorial link)

Can an Imacros be created for this scenario or not?

I have a CSV file of emails that I would like to have each email uploaded individually but automatically to a site.
Steps are to copy the email, go to the site and paste email in proper field. Do the same things with the first name, then confirm. Then click back to main page to input next email and name.
Is this possible with iMacros or not?
Thanks
Yes it's possible. Use this http://wiki.imacros.net/Command_Reference
and you can use this: http://wiki.imacros.net/!DATASOURCE

How to send variables between different views on XCODE?

I am currently trying to create an application that will allow the user to build a "fake" report card. How would I be able to use variables to go from SecondViewController to ThirdViewController? I would need to be able to take Users' text from 15 textField to a new view where it can be saved as a picture, so they can share it with friends on facebook or email.

How to add email facility in an iPad app?

In my app for iPad I have several videos and pdfs. What I want is when user is watching a video or reading a pdf and if he wants to email that video or pdf to himself or to his friends, then how would he do it? I have added a button on the navigation bar for this purpose. When the user clicks that button an option should appear which should say "Email". now when the user selects Email, the app asks the user to enter an email address. After entering email address the user presses "Send" button. And that particular file is sent to the user's email. How can this be done?
Thanks
Take a look at MFMailComposeViewController class. It provides access to standard mail functionality and it includes addAttachmentData:mimeType:fileName: method to add attachments (and you also don't need to present custom UI for e-mail address).
However, if files are big (video), it makes sense to put them somewhere to your server and send only links and in this way avoid sending big attachments. This is important because many mail servers will not allow big attachments (10MB is already big).
I'm guessing you'd use MFMailComposeViewController, the same as for iPhone.