Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in c:\apache group\Apache\htdocs\mail.php on line 6
o que devo fazer???
vlw!
Posted 15/09/2005, 16:26
Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in c:\apache group\Apache\htdocs\mail.php on line 6
Posted 15/09/2005, 16:28
Posted 15/09/2005, 16:39
[mail function] ; For Win32 only. SMTP = smtp.MEU_SERVER.com.br smtp_port = 25 ; For Win32 only. sendmail_from = email@MEU_SERVER.com.br ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ;sendmail_path =
<?php $to = "email@hotmail.com\n"; $assunto = "teste...\n"; $msg = "vamos testar\n"; $headers = "From: Pedro<email@MEU_SERVER.com.br>\n"; mail($to,$assunto,$msg,$headers); ?>
Posted 16/09/2005, 02:19
Posted 16/09/2005, 08:14
<?php
$to = "tiptoe_tiptoe@hotmail.com";
$assunto = "teste";
$msg = "vamos testar";
$headers = "From: info@tiptoe.com.br \n";
mail($to,$assunto,$msg,$headers);
?>
Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in c:\apache group\Apache\htdocs\mail.php on line 6
Edição feita por: Pedro Lopes, 16/09/2005, 08:16.
0 membro(s), 0 visitante(s) e 0 membros anônimo(s)