Are you using a SMTP server on your lan? Does the user [EMAIL PROTECTED] has authority to send e-mails from this SMTP server?
[]'s Ernani "Georg Herland" <[EMAIL PROTECTED]> escreveu na mensagem [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi! > > I'm trying to insert sending of a "notice-mail" whenever someone submits to > a buletinboard. > I've checked the SMTP service with a mail-client, and sending mail works > fine. When I try to send via the mail() function in my php script, it fails > with the following warning: > > "Warning: Failed to Receive in > L:\root_www_leilighet\app_to_top_of_guestbook.php on line 32" > > wich refers to the line where I use "mail($email_recipient, $email_subject, > $text);" > > Should I impress a certain format to my variables contents? > > My php.ini looks like this: > > [mail function] > ; For Win32 only. > SMTP = 10.0.0.2 ; for Win32 only > > ; For Win32 only. > sendmail_from = [EMAIL PROTECTED] ; for Win32 only > > Can anyone please help? > > Regards, Georg Herland > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php