Email class and hotmail! |
[eluser]schnoodles[/eluser]
The thing i found REALLY weird is == [ This doesnt work ] $email['useragent'] = 'PHP/' . phpversion(); $this->email->initialize($email); $this->email->to('[email protected]'); $this->email->from('[email protected]', 'MySite'); $this->email->reply_to('[email protected]', 'MySite'); $this->email->subject('Email Test With Codeigniter'); $this->email->message('Testing the email class.'); $this->email->send(); == [ This does work ] $to = '[email protected]'; $subject = 'Email Test With Native PHP'; $message = 'Testing the email class.'; $headers = 'From: [email protected]' . "\r\n" . 'Reply-To: [email protected]' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); if ( !mail($to, $subject, $message, $headers) ) die('It didnt go through!'); Its wierd, all i can think is that the useragent might effect it, but how i just did the useragent on the top one, it didnt change it in the email :\ |
Messages In This Thread |
Email class and hotmail! - by El Forum - 09-17-2007, 09:29 PM
Email class and hotmail! - by El Forum - 09-18-2007, 02:17 AM
Email class and hotmail! - by El Forum - 09-18-2007, 04:29 AM
Email class and hotmail! - by El Forum - 09-18-2007, 08:43 AM
Email class and hotmail! - by El Forum - 09-18-2007, 10:13 AM
Email class and hotmail! - by El Forum - 09-18-2007, 10:52 AM
Email class and hotmail! - by El Forum - 09-18-2007, 06:34 PM
Email class and hotmail! - by El Forum - 09-18-2007, 09:24 PM
Email class and hotmail! - by El Forum - 09-18-2007, 09:29 PM
Email class and hotmail! - by El Forum - 09-19-2007, 09:21 PM
Email class and hotmail! - by El Forum - 06-27-2008, 06:28 AM
Email class and hotmail! - by El Forum - 06-30-2008, 06:59 PM
|