×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Posting mail through PHP...

Posting mail through PHP...

Posting mail through PHP...

(OP)
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 www.nexen.net

<?php
$recipient = "my@hotmail.com";
$subject = "Subject";
$message = "Message";
mail($recipient, $subject, $message);
?>

RE: Posting mail through PHP...

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
www.epicsoftware.com
====
Knows: Perl, HTML, JavScript, C/C++, PHP, Flash, Director
====

RE: Posting mail through PHP...

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close