I really dont understand why you using remoting for sending mail. Ar you making mail jet. If you need communicate with server 50 -100 times per minute, or you retrive from database hundreds or thoutends items remoting good. Amfphp most likely for database: small sql query from swf to php, huge dataset back from php to swf. Very important server coded data to flash object.
If you need send mail and receive confirmation it is not what remoting designed for. Theris more simple and more reliable way of doing it
maileador.php \\Dont forget create MethodTable file in Browser window
class maileador{
function maileador(){
include(" maileador.methodTable.php");
}
function mailear($FirstName, $Company, $Email, $Comments, $About){
$to="
[email protected]";
$body = "You received email from: \n\r Name: ".$FirstName."\n\r Company: ".$Company."\n\r Comments: ".$Comments." \n\r Replay to: ".$Email;
return mail($to,$About, $body)?"Mail successfully sent! ":"Mail delivery failed...;
}
}
make this work after we include header
redownload amf-core folder
you have files missing