alexvaz Posted May 9, 2006 at 11:22 PM Report #26702 Posted May 9, 2006 at 11:22 PM Boas ppl! Alguém sabe se é possivel (e já agora como se faz 👍 ) fazer um trigger no oracle que mande um mail automaticamente qdo um utilizador se regista com a sua password?
aparicio Posted May 10, 2006 at 08:04 AM Report #26707 Posted May 10, 2006 at 08:04 AM mmmmm eu tenho uma cena criada para enviar e-mail's. o código é relativamente simples: <? $de = $HTTP_POST_VARS[de]; $assunto = $HTTP_POST_VARS[assunto]; $para = $HTTP_POST_VARS[para]; $html = $HTTP_POST_VARS[html]; mail("$para",$assunto,"$html", "From: $de \nContent-type: text/html\n"); ?> <SCRIPT LANGUAGE="JavaScript"> window.location="enviado.php"; </script> espero que tenha ajudado!!!
M6 Posted May 10, 2006 at 01:44 PM Report #26731 Posted May 10, 2006 at 01:44 PM Sim é possível. Dá uma olhadela no Ask Tom que encontras a solução: http://asktom.oracle.com/pls/ask/f?p=4950:8:332993124710480682::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:2391265038428 No limite creio que podes sempre fazer um procedure que te invoque um script/aplicação que te efectua o envio do email. 10 REM Generation 48K! 20 INPUT "URL:", A$ 30 IF A$(1 TO 4) = "HTTP" THEN PRINT "400 Bad Request": GOTO 50 40 PRINT "404 Not Found" 50 PRINT "./M6 @ Portugal a Programar."
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