PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
<?php
// The message
$message = "Line 1\nLine 2\nLine 3";
// In case any of our lines are larger than 70 characters, we should use wordwrap()
$message = wordwrap($message, 70);
// Send
//Correct email id given
mail(abc@xyz.in', 'My Subject', $message);
?>
In this example the mail is sent and not receiving...
Please tell me what may be the problem
<?php
// The message
$message = "Line 1\nLine 2\nLine 3";
// In case any of our lines are larger than 70 characters, we should use wordwrap()
$message = wordwrap($message, 70);
// Send
//Correct email id given
mail(abc@xyz.in', 'My Subject', $message);
?>
In this example the mail is sent and not receiving...
Please tell me what may be the problem.
Is that I need to configure SMTP server.
Sendmail is in /usr/sbin