Welcome Guest, Not a member yet? Register   Sign In
No email being sent
#1

[eluser]xtremer360[/eluser]
I'm attempting to send an email address out to registrants who register for my site however this section of my code is not running. I'm attempting to find out why. I've followed all the necessary documentation. I replaced this section with php's mail function for debugging to see if it'll send an email on my server and it will. I ran the debugger for the email class and it says it was sent.
Does anybody have any thoughts on what it could be?

Code:
// User was successfully created and the user needs to verify their account.
// Send registered an email informing them how to validate their account.
$this->load->library('email');
$this->email->from('[email protected]', 'Owner Name');
$this->email->to($post_email_address);
$this->email->subject('Site Name Here Registration');
$this->email->message('Thank you for registering for our site. Here is your registration key to activate your account: '.$registration_key.' Please click on the following link to activate your account.<br />'.anchor('project-manager/login/verify/'.$registration_key, 'Click Here To Activate Your Account', ''));

$this->email->send();

Here is the configurations for the email.com inside of the application/config directory.

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





Theme © iAndrew 2016 - Forum software by © MyBB