valeu
<?php $headers = "MINE-Version: 1.0\s\n"; $headers .= "Content-Type:text/html; charset=iso8859-1\r\n"; $headers .= "From: $nome <$email>\r\n"; $to = "Diego <aboutblank@walla.com>"; $subject = "$assunto"; $message = "<html> <head> <meta http-equiv= Content-Type content= text/html; charset=iso-8859-1 > <title>Untitled Document</title> <style type= text/css > <!-- .style3 { font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; color: #000000; } .style4 { font-family: Arial, Helvetica, sans-serif; font-size: 80%; } --> </style> </head> <body> <p><span class= style3 >Nome:</span> <span class= style4 >$nome<br> </span><span class= style3 >E-mail</span>: <span class= style4 >$email<br> </span><span class= style3 >Telefone:</span> <span class= style4 >$telefone</span><br> </span><span class= style3 >Empresa:</span> <span class= style4 >$empresa</span><br> </span><span class= style3 >Mensagem:</span> <span class= style4 >$mensagem</span></p> </body> </html>"; mail($to, $subject, $message, $headers); ?>
nao eh possivel que ninguem sabe isso?
deixa eu explicar melhor, no formulario tem um campo pra colocar assunto..e eu quero que dependendo do assunto o email vai para um lugar..se for assunto duvida, vai pro email duvida@.... e assim por diante..alguem ae me da uma luz?
Edição feita por: aboutblank, 29/07/2004, 23:33.