Jump to content

PHP mail


vytas
 Share

Recommended Posts

Uh i am new to PHP but i have a problem with the php mail()Ive i send my e-mail and other thing in a e-mail the message doesn't come to my adressHere's the code

<?php$to = $_POST["mail"];$subject = "Your acount has been created";$message = $_POST["pass"];$from = "vytas-klyvis@hotmail.com";$headers = "From: $from";mail($to,$subject,$message,$headers);echo "<br/>Mail Sent.";?>

Here's the site i putted it on My newbie page

Link to comment
Share on other sites

Srry for this last post , i read the FAQ of the freehost of mine.They do not send Mail from their server only ive u pay :)So this topic can be closed Ive u want to see my site

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...