EllisLab text mark
Advanced Search
     
Bug In Email Library
Posted: 14 November 2007 03:58 PM   [ Ignore ]
Joined: 2007-06-30
10 posts

Hi . Please Look at this code smile

$this->load->library('email');

$this->email->from('your@your-site.com''Your Name');
$this->email->to('someone@some-site.com'); 
$this->email->cc('another@another-site.com'); 
$this->email->bcc('them@their-site.com'); 

$this->email->subject('Email Test');
$this->email->message('Testing the email class.'); 

$this->email->send();

echo 
$this->email->print_debugger(); 

this is example code for sending mail .. you can see it from THIS LINK

i use this .. but i have one ERROR
this ERROR ->

A PHP Error was encountered

Severity
Warning

Message
mail() [function.mail]SMTP server response500 <"Your Name" <your@your-site.com>> is not a valid email

Filename
libraries/Email.php

Line Number
1328 

Please Help Me .. I Need To Sending Mail With CI downer

 
Posted: 14 November 2007 04:03 PM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2007-09-11
293 posts

can you send by mail() php function???

i don’t think there is a CI bug….

 Signature 

cool mad
Rafael
Last.fm
Twitter

“Because they’re stupid, that’s why. That’s why everybody does everything!”

 
Posted: 14 November 2007 04:08 PM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Avatar
Joined: 2007-07-30
2144 posts

I’d be curious as to whether it is an issue with your server… RFC 822 clearly states that the from header may be formatted as such:

“Joe & J. Harvey” <ddd @Org>

 Signature 

Follow me on twitter here.
MichaelWales.com | MichaelWales.info

 
Posted: 14 November 2007 04:14 PM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Joined: 2007-06-30
10 posts

you can use it from your server
..
you havent this error ?

 
Posted: 14 November 2007 04:38 PM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Avatar
Joined: 2007-07-30
2144 posts

I can’t remember a time I have ever received it but I can’t recall whether I was using SMTP or mail() at the time.

Can you send this message by changing CI to use the mail() function rather than SMTP? Instructions are in the User Guide as to how.

 Signature 

Follow me on twitter here.
MichaelWales.com | MichaelWales.info