Welcome Guest, Not a member yet? Register   Sign In
email class problemo
#1

[eluser]Unknown[/eluser]
i have a problem with emails never arriving although the debugger tells me it's succesfull:
Your message has been successfully sent using the following protocol: sendmail

User-Agent: CodeIgniter
Date: Tue, 25 Aug 2009 08:20:54 +0200
From:
Return-Path:
Reply-To: "[email protected]"
To: [email protected]
Subject: =?utf-8?Q?Password_Reminder?=
X-Sender: [email protected]
X-Mailer: CodeIgniter
X-Priority: 3 (Normal)
Message-ID: <[email protected]>
Mime-Version: 1.0


Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

blablabla

my code:
Code:
$this->load->library('email');
            $config['protocol'] = 'sendmail';
            $config['mailpath'] = '/usr/sbin/sendmail';
            $this->email->initialize($config);
            
            $this->email->from('[email protected]');
            $this->email->reply_to('[email protected]');
            $this->email->to('[email protected]');
            
            $this->email->subject('Password Reminder');
            $this->email->message('blablabla');
            
            $this->email->send();

emails arrive when i try it with PHP mail. what i do notice from the debugger si that the From: and Return-path: are empty. Could this be a server thing?

it's getting on my tits so all help welcome Smile
#2

[eluser]riko0na[/eluser]
Code:
$this->load->library('email');

$config['protocol'] = 'sendmail';
$config['mailpath'] = '/usr/sbin/sendmail -t';
$config['charset']  = 'iso-8859-1';
$config['wordwrap'] = TRUE;
$config['mailtype'] = 'html';
$this->email->initialize( $config );
                    
$this->email->to( $emailadd );
$this->email->from('[email protected]', 'Message');
$this->email->subject( 'Subject: ' . $subject);
$this->email->message( $message );
$this->email->send();

:red:
#3

[eluser]Unknown[/eluser]
that din't help.
anyone?

best
diep




Theme © iAndrew 2016 - Forum software by © MyBB