Ok,
The regular protocal used to send email from a form on iPhone (from what I know) is to send it via the Mail application. This code here:
-(IBAction)sendEmail {
NSString *url = [NSString stringWithFormat: @"mailto:%@?body=%@", toEmail.text, content.text];
[[UIApplication sharedApplication] openURL: [NSURL URLWithString: url]];
//status.text = @"Sending...";
}
Now, I want it to be a form where it just sends the email. I don't want it to go through Mail or anything, and I want it to send from a predefined address such as [email protected]
for example.
How would I do this?
Thank you in advance.
Alex