Jump to content

Why the mail () function does not deliver emails???


npsari

Recommended Posts

I am using the below normal mail function

 

<?php

$to = "[email protected]";

$email = "[email protected]";

$subject = "This is a new message";

$message = "Hi there, this message should arrive";

mail($to, $subject, $message, "From: $email");

echo "The email has been sent.";

?>

 

But the emails never reach

Nothing arrives to destination

Only few times it does

What do famous sites use to deliver their emails

They cant be using this one

Does anyone know why this is happening

The IP of your Host is blocked by othere email services . may be some other users have sent so many unsolicited mails before.

Or You need to sen MIME Mail.

You can use http://zigmoyd.sourceforge.net/man/mail.php

With authentication On(true).

If uused with auth true. It will Use another server(I've tested it with http://www.bluebottle.com email account.)(In this case It will use bluebottle's email server) to send Mails.

the current version 1.0.1.0 has some bugs

Use the Previous version

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.