Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Posting mail through PHP...

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Can someone tell my why this simple line isn't working?
I don't receive my mail in HOTMAIL :(
i use the free host on
<?php
$recipient = &quot;my@hotmail.com&quot;;
$subject = &quot;Subject&quot;;
$message = &quot;Message&quot;;
mail($recipient, $subject, $message);
?>
 
They probably do not have a mail server set up. You should contact them and ask them.

If you need a mail server set up, look a couple of posts back (I think that it is called How to set up a Mail Server), and it should have some good links. I was the original to ask the question and I got a good reply.

Hope this helps,
-Vic vic cherubini
malice365@hotmail.com
====
Knows: Perl, HTML, JavScript, C/C++, PHP, Flash, Director
====
 
I had the same problem when trying to build a mail form. I checked my smtp and server and they all matched what they should've been. I am running a local host on WIN 2K -- and WIN2k may be the problem. -- I'll keep you posted as to what I find.

M
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top