Hi,
I built an iPhone e-mail screen in MobiOne using .php code to process the e-mail.
In MobiOne’s design window screen I have the “Form” box checked, “Form Action Type” set to URL, “Form Action URL” set to email.php, “Form Method” set to Post, and “Form Result Type” set to <None>.
Question is: Why is it not sending an e-mail to me? When I click the “Send” button, a message “Loading…” will flicker a fraction of a second and nothing happens. There is no e-mail sent. PLEASE HELP! Thanks.
My textbox on the screen and my email.php are defined as follows:
textbox “nameField”
textbox “emailField”
textbox “messageArea”
$yourEmail = “rob@volleyhollix.com”;
$email = $_REQUEST[’emailField’] ;
$name = $_REQUEST[‘nameField’] ;
$subject = “Mobile Form Contact” ;
$message = $_REQUEST[‘messageArea’] ;
$message1 = “From:” . ‘ ‘ . $name . ‘
MESSAGE: ‘ . $message ;
phpmail($yourEmail, $subject, $message1, $email);
return “Thank you for using our mail form”;