php - Code Igniter wont send emails to @hotmail addresses


I am using the following code to send my emails upone registration - it works for all email addresses except from /

'$email_address = $_REQUEST['email'];
$message =  'Welcome Member, <br /><br />

<p><a href="'.base_url().'site/activate/'.$lastId.'/" target="_blank">'.base_url().'site/activate/'.$lastId.'/</a></p>


$AdminEmail  = '[email protected]';
$Subject  = 'Account Confirmation';

//@send_email($emailadderss,$Subject, $message, $AdminEmail, '');
$headers  = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From: [email protected]' . "\r\n";
$msg = @mail($email_address, $Subject, $message, $headers);

I am sure why this is and I cannot find any solutions upon searching the internet.

Many thanks in advance.

People are also looking for solutions to the problem: php - Using Doctrine Annotations with Zend Guard


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.