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.
Related
I'm looking to create an Add-In for Outlook that allows users to save emails, which are saved against a company in our system. Currently this works by the user opening an email and clicking a button I've created which opens the taskpane containing a form (which asks the user to select a company against which the email will be saved, and optionally provide an email description), whereupon pressing 'save' the email's ID and other relevant information are sent to an API which fetches the email from the rest API and saves the file in our system.
This technically works, though ideally I would like some functionality along the lines of:
User sends an email
my add-in to ask the user if they want to save the email immediately after they sending
If 'yes' is clicked, for the email saving form to appear in either the taskpane or a separate window so it can be saved
This is simply so they don't have to navigate through to their sent messages after sending and save them manually.
Currently I have tried using the ItemSend event for this, however it seems this is more for appending things to the email before it sends rather than after, and I don't seem to be able to use this event to get the email item or its ID. I had thought about potentially using the event to send the email to a custom mailbox and have it save as a result of this using a flow of some kind, however I think this would be rather difficult to implement due to needing user input to save the email in our system.
Here is the scenario:
We have designed an email template in which there are two option buttons: "Yes" & "No".
We send this email template to a group of user email lists.
After that, can we track the event where a recipient clicks on either the Yes button or No button.
which method can be used to track down how many of the recipients had clicked the Yes button or the No button?
how difficult is it to track the selected option Yes/No made by each single user?
which tracker is preferred: database tracker, google analytics tracker, mailchimp or other 3rd party web services?
With Google Analytics, you can do manual campaign tagging where you assign specific query parameters to each button. The query parameters will track back to your Google Analytics data, and can tell you which buttons were clicked. This is an easy method as all you need to do is build specific URLs for each button, and then embed those URLs into the email template for each button.
Here is the URL Builder site: https://support.google.com/analytics/answer/1033867?hl=en
I am making an app for companies so they can make a workreport in a blink of an eye by just tapping some togglebuttons and typing some text and the app makes a nicely laid out email and sends it to an Email address
What is need is:
A settings page where I can change the email address which it goes to
The texts of the textblocks and so on.
I just want to make an app which is adaptable for the user.
I know I need to use the isolated storage but I don't really know how to put it in VB so it can change the content of the things needed to be changed.
You can take a look at using My.Settings see this Microsoft Article http://msdn.microsoft.com/en-us/library/ms379611(VS.80).aspx once you save the settings from a form text box or other method of input, you can read the settings back on on form load and change the appearance of you application based on the user settings.
I'm trying to make a simple view based application.
I want to receive information with the content of text fields when user filled text fields and hits the submit button.
The way I do this doesn't matter so much. It can be done by sending information to a web server or sending information to my e-mail in background. Actually it seems easier to do it via e-mail.
I just want to know what the user wrote on text fields when he hit the submit button.
I'm working on a Mac app and I want the user to be able to contact me via email. So I was thinking that there was going to be a button that says contact or something and when the user click on the button it will open the mail app and compose a new message that will be sent to my email address already added.
So kinda like an in app mail function that you can add on the iPhone and iPad apps.
Is this possible?
Using NSWorkspace's -openURL: method you can open a standard mailto: link which can include subject and body and it will launch user's default e-mail app (usually Mail) with pre-populated fields.
mailto:you#domain.com?subject=hello&body=text