Modifique somente o smtp e o email de destino (AddAddress)
qualquer dúvida poste novamente
Posted 23/11/2003, 02:29
Posted 23/11/2003, 22:33
Posted 24/11/2003, 10:06
use uma condição:mais nesse se a pessoa n preencher algum item ele envia de qualquer forma !
Abraços
Posted 24/11/2003, 10:55
Posted 24/11/2003, 11:18
isso seria a lógica aplicada,não entendi esse seu post thyago !?!?
var obj = new loadVars(); envia_btn.onRelease = function() { if(nome_txt.text=="" || email_txt.text=="" || msg_txt.text=="") return status_txt.text="Preencha os campo" obj.nome = nome_txt.text; obj.email = email_txt.text; obj.msg = msg_txt.text; obj.onLoad = function() { if (this.erro == "sim")return status_txt.text="Ocorreu um erro"; status_txt.text = "Email enviado com sucesso"; }; obj.sendAndLoad("http://localhost/aspemail.asp", obj); }; var $this = this; limpa_btn.onRelease = function() { for (var i in $this) if ($this[i] instanceof TextField) $this[i].text = ""; };
Edição feita por: Thyago Mendes, 24/11/2003, 11:20.
0 membro(s), 0 visitante(s) e 0 membros anônimo(s)