Welcome Guest, Not a member yet? Register   Sign In
Mail sending problem

Hi I am having problem in sending email.. I have hosted my website on hostmonster.com and the following function is sending email to user.. but it doesn't get delivered.. and no error message is displayed...
function SendEmail($email)
        $config['useragent'] = 'Test mail server';
        $config['mailtype'] = 'html';
        $config['validate'] = TRUE;

        $this->email->from('[email protected]', 'web Registration');

        $this->email->subject('Email confirmation required');

        $message = "Email body";




Why it is so? Please help me as soon as possible?

Did you set your mailpath correctly?
$config['mailpath'] = '/usr/sbin/sendmail -t -i';
Use your server specs. Maybe it just can't find sendmail...

Thanks let me try it...

I have tested it but it is not working yet!! :-S

Theme © iAndrew 2016 - Forum software by © MyBB