Welcome Guest, Not a member yet? Register   Sign In
Bug In Email Library
#1

[eluser]Hiden Soft[/eluser]
Hi . Please Look at this code Smile

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

$this->email->from('[email protected]', 'Your Name');
$this->email->to('[email protected]');
$this->email->cc('[email protected]');
$this->email->bcc('[email protected]');

$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 ->
Code:
A PHP Error was encountered

Severity: Warning

Message: mail() [function.mail]: SMTP server response: 500 <"Your Name" <[email protected]>> is not a valid email

Filename: libraries/Email.php

Line Number: 1328

Please Help Me .. I Need To Sending Mail With CI :down:
#2

[eluser]ELRafael[/eluser]
can you send by mail() php function???

i don't think there is a CI bug....
#3

[eluser]Michael Wales[/eluser]
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:
Quote:"Joe & J. Harvey" <ddd @Org>
#4

[eluser]Hiden Soft[/eluser]
you can use it from your server
..
you havent this error ?
#5

[eluser]Michael Wales[/eluser]
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.




Theme © iAndrew 2016 - Forum software by © MyBB