I'm making an iOS app and the user has to enter their info to register for an account. I'm wanting to make it so that it sends an email to the provided email account with the info that they just entered. But I don't want them to be able to see the email view. Is there a way to send an email in the background in iOS 7? I'm familiar with the SMTP Gmail workaround but I was wondering if there was anything more generic.
There is no documented API available using which you can perform this.
send this detail to your server via web service and than server will send the email using that detail.
Related
I'm building a small email app (on iOS first) for internal team use only. We also have a Slack team that I'm rolling out to the whole group (about 250 people) around the same time I'm launching the app.
I'm going to have a lot of older and tech-phobic users, so I'm trying to make things as easy as possible for them. Since I'm writing the email app, I figure to making on-boarding even easier I can:
Check if they've got the Slack app installed (via the canOpenURL method)
Send them to the App Store to download if they don't
Open the Slack app for them if they do
Look for the magic login email
Automatically open the URL from the email.
All that is great, but it would be fantastic if I could trigger sending that email automatically and don't even need to send them to manually put in the team URL and their email. Anybody know a way?
CLARIFICATION:
One big reason I want to do this that I didn't make very clear is that when the Slack app sends the email it prompts you to go to your email app to receive your login link, but since iOS doesn't allow changing the default email app, it will send them to the wrong one for my user's purposes.
Sure. If you already have the emails of your target group you can generate the invitation mails programmatically with a small script.
You will need to use the undocumented API method users.admin.invite for that.
I'm using Firebase phone authentication in my app. I am wondering how I can customize the text message sent to the user.
For example, I would like the SMS the user receives to say:
"Welcome to XXXX App. Your verification code is 123456."
No , you cannot customize the SMS send by Firebase Phone Authentication.
Go to Firebase console you will find this
It shows no option to customize , only you can change language.
How do I send notifications via SMS or Email to users? The server side is done in PHP using Drupal framework. I know how the push notification works. But I do not have an idea on the SMS and Email notification.
I do not know from where to start. I browsed but I did not understand what to follow as I am not very much experienced in app development.
Try with the following scenario:
Implement Web Service which contains code for sms gateway or email service. Make a call to Web Service when you wants to send sms or email.
I already have an active Facebook session in my app, and want to be able to send a private message to a friend using the access token I already have. The closest I've gotten is to open a UIWebview to the touch interface, but the user will need to log into Facebook again before being able to send a message. Is there a way to send a private message using the session that is already active, and ideally, using my own interface? If I could send an email to the username#facebook.com programmatically, that would be perfect, but that isn't possible in iOS that I know of.
As I understand it, here are the options to send messages to friends in iOS:
Send an email using the mail composer to the username#facebook.com (unable to send email programmatically, otherwise this will be perfect)
Send an app request/post on the wall using the Facebook SDK
Open a webview (and log into Facebook again) show the touch dialog for messaging
Is there anything I'm missing?
I found that you can send private Facebook messages using the Facebook Chat API using XMPP.
https://github.com/robbiehanson/XMPPFramework
Quickblox has some sample code that demonstrates how to send FB messages.
Suppose I have an email address that only receives a specific type of email, i.e. an automatically generated receipt email from a transaction.
I would like to build an iOS app to receive the email text from this email address and parse according to a predefined format and display the results. Is it possible to do this without dealing with the email server directly from the app?
Meaning can I for instance piggyback off the native mail client (assuming it is set up to receive pushed email sent to the email address). I tried looking through Apple's docs for iOS but could not find anything useful. Anyone know of something?
3rd party apps have no way to integrate with the Mail app or to make use of any configured mail account the user has setup on the device.
However, you can write an app that can access external email accounts if the user provides all of the usual email account details. The App Store has several 3rd party mail apps that serve as replacements for Apple's Mail app.
If your app is written to work with a specific email account, and not one entered by the user of the app, then you can hardcode all of the account details in the app.
Your app is basically a run of the mill email client. You just have to know how to access IMAP or POP3 accounts, retrieve the emails, and process them as needed.
Again, there is no way your app can intercept or make use of any emails accessed by any email accounts the user has setup for use with the standard Mail app.
There are at least two aspects to your question:
How do I get an email to open in my iOS app?
Put the data in an attachment and see this link
What format can I use in an email attachment to transport persistent
objects?
I've had decent results with NSKeyedArchive as an interchange format. There are lots of other choices, depending on what generates the receipts attachments.
Post a followup with your choices. Good luck!