- Joined
- Dec 23, 2006
- Messages
- 1
- Reaction score
- 0
I have a problem with automatic mails from a php page which i cant seem to figure out at all.
This is currently what is being used within the page
Obviously, There is more to the page but that is the general part.
The problem im having is. That the emails wont get sent out to all who try. I have it on one server that will send to anyone, But yahoo emails. On another it just refuses to send altogether.
Is there a problem in that peice of code? Could it be server related?
Thanks in advance for any help given.
Regards
Luke
This is currently what is being used within the page
Code:
mail( $_POST['email'], "Subject Line here", "The message to be sent", "From: My Email");
echo "Email sent.<br>
<a href='index.php'>Back</a>";
The problem im having is. That the emails wont get sent out to all who try. I have it on one server that will send to anyone, But yahoo emails. On another it just refuses to send altogether.
Is there a problem in that peice of code? Could it be server related?
Thanks in advance for any help given.
Regards
Luke