Welcome Guest, Not a member yet? Register   Sign In
Email not sending and no error
#1

[eluser]Unknown[/eluser]
Hello:

I have tried smtp, sendmail and sending via my web hosting and via gmail ssl.
No email gets sent and I get no error messages.

I have debugged it and it will execute the code through this function.
But it always executes the "FALSE" blocks.

Is there a way to add more debug to this or get the mailer error?

Thanks
brian

protected function _spool_email()
{
$this->_unwrap_specials();

switch ($this->_get_protocol())
{
case 'mail' :

if ( ! $this->_send_with_mail())
{
$this->_set_error_message('lang:email_send_failure_phpmail');
return FALSE;
}
break;
case 'sendmail' :

if ( ! $this->_send_with_sendmail())
{
$this->_set_error_message('lang:email_send_failure_sendmail');
return FALSE;
}
break;
case 'smtp' :

if ( ! $this->_send_with_smtp())
{
$this->_set_error_message('lang:email_send_failure_smtp');
return FALSE;
}
break;

}

$this->_set_error_message('lang:email_sent', $this->_get_protocol());
return TRUE;
}





Theme © iAndrew 2016 - Forum software by © MyBB