Welcome Guest, Not a member yet? Register   Sign In
invalid email should return to the sender email
#1

[eluser]basty_dread[/eluser]
Hi, I don't know what's wrong, but when I tried to send email to an invalid email address..
the sender email does not received any failure notification.

php config:
Code:
$config['protocol'] = 'sendmail';
        $config['mailpath'] = '/usr/sbin/sendmail';
        $config['charset'] = 'iso-8859-1';
        $config['mailtype'] = 'html';
        $config['wordwrap'] = TRUE;


I'm using the latest version of codeigniter 2.0.
Thanks.
#2

[eluser]InsiteFX[/eluser]
Code:
echo $this->email->print_debugger();

// send and check email for errors!
if ( ! $this->email->send())
{
    // show an error message
}
You could also check to see if the email address is valid before calling email_send!

InsiteFX




Theme © iAndrew 2016 - Forum software by © MyBB