Help me on Sending mail

hello people,
mail($emailaddress, “Your password is”, “$message”, “From: $cmail
BCC: $codemail”);
echo “<br>”;

I have problem. The mail above is for sending emails. when I sent it indicates that the email has been sent. But people can not receive. Where is the problem??

your help will be highly appreciated.

Make sure that email didn’t end up in the Junk Folder of recipients.

Hello Kailash Badu,
It is not appearing in a Junk Folder of recipients. Where is it going??

use phpMailer…

or don`t forget about headers

$headers = "MIME-Version: 1.0
$headers .= "Content-type: text/plain; charset=iso-8859-1
$headers .= "From: blabla<test@test.test>
$headers .= "X-Mailer: PHP’s mail() Function

 mail($emailaddress, "Your password is", "$message", "From: $cmail\\r\
BCC: $codemail");

I suggest you to use phpMailer for mailing. It is easy to code and mostly used.

or try this

mail($emailaddress, “Your password is”, $message, “From:”.$cmail."

Hello people,
I have started receiving the following error message:

SMTP server response: 550 5.7.1 Requested action not taken: message refused in

What could be the problem??? Please help

If u r using windows try this

  1. Go to: start > settings > control panel > Administrative Tools > Internet Information Services
  2. Expand the " (local computer)" node
  3. Right click on your SMTP server > go to “Properties”
  4. Click “Access” tab
  5. Under Relay Restrictions, click the “Relay” button
  6. Click “Add”
  7. Select “Single Computer” and enter IP address
  8. Hit OK, OK, OK (until the properties dialog is closed)

This helps u to debug the error