Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

uaecasher

macrumors 65816
Original poster
Jan 29, 2009
1,289
0
Stillwater, OK
Hey guys,

I have a question, if I want the user to be able to send emails from my app in background. For example, when user clicks a button, the app will send email to a pre-defined address with pre-defined message (like a score for example)

I know how to do that but the way i do it, a composer window shows up, I dont want that.

Any help would be much appreciated
 
The only way to use the users mail account/settings is to use the composer window. Otherwise your app could be sending offensive emails that look like they come from the user without the users express, per-email confirmation (by clicking Send).

If you want to send background emails you have to provide your own mail sending code (SMTP client) and either get the user to provide server details or provide them yourself.
 
The only way to use the users mail account/settings is to use the composer window. Otherwise your app could be sending offensive emails that look like they come from the user without the users express, per-email confirmation (by clicking Send).

If you want to send background emails you have to provide your own mail sending code (SMTP client) and either get the user to provide server details or provide them yourself.


Thanks for the help, I wasn't actually planning on sending offensive emails just was looking for way to send emails so that user don't have to approve every time they want to send, I'll take a look about the SMTP client option
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.