pimpz Posted May 15, 2008 at 05:56 PM Report Share #185330 Posted May 15, 2008 at 05:56 PM boas eu estou a fazer um formulario em flash que envia um mail para o utilizador mas não está a funcionar muito bem. o código que tenho em action script é: alerta._visible = false; enviar.onPress = function(){ if(nome != undefined and email != undefined and mensagem != undefined) { stop(); loadVariablesNum("email.php",0,"POST"); alerta.exibir="E-mail enviado!"; alerta._visible = true; } else { alerta.exibir = "Você deve preencher os campos corretamente!"; alerta._visible = true; } } alerta.ok.onPress = function(){alerta._visible = false;} e na pagina em php é : <?php $nome = utf8_decode(@$_POST["nome"]); $email = utf8_decode(@$_POST["email"]); $mensagem = utf8_decode(@$_POST["orcamento"]); mail(" **********@gmail.com","Pedido de orcamento!",$mensagem."\nEnviado por:".$nome."\nE-mail:".$email) ?> alguem sabe a razão de não enviar o e-mail? 😉 cumps Link to comment Share on other sites More sharing options...
cyclop Posted May 23, 2008 at 01:48 PM Report Share #186901 Posted May 23, 2008 at 01:48 PM teres esse PHP num servidor dava jeiro, de resto, o código parece estar bom... Ou entao nao tens o mailserver configurado "Quando eu for grande quero ser como o Celso" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now