Your SMTP server might not be on or working. For testing purpose, you could use your own SMTP server on your computer from postcastserver.com, download postcastserver (freewar) -- Joel Agnel [EMAIL PROTECTED] "Chris Burwell" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > when i try to send an e-mail using the mail(); function i get the following > message: > > Warning: Failed to Connect in d:\Server\apache\htdocs\dev\inc\functions.inc > on line 26 > > Line 26 of the functions.inc file reads like this: > > $mailsend = mail("$email", "$subject", "$body", "From: > $from\r\nContent-type:text/plain"); > > Can someone help me out? > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]