Welcome Guest, Not a member yet? Register   Sign In
Mail sending problems.
#2

[eluser]Nathan Moore[/eluser]
Try using a different mail protocol and see if that helps.

For example, try adding these lines before sending the email:

Code:
$config['protocol'] = 'sendmail';
$this->email->initialize($config);

The default protocol is mail (php)... Try sendmail and if that does not work, try using SMTP.


Just as a sidenote, you should probably send the email from the controller, not the model. Only use the model to interact with the database.


Messages In This Thread
Mail sending problems. - by El Forum - 07-28-2008, 10:21 AM
Mail sending problems. - by El Forum - 07-28-2008, 11:29 AM
Mail sending problems. - by El Forum - 07-28-2008, 11:40 AM
Mail sending problems. - by El Forum - 07-28-2008, 11:48 AM
Mail sending problems. - by El Forum - 07-28-2008, 12:44 PM
Mail sending problems. - by El Forum - 07-28-2008, 01:42 PM
Mail sending problems. - by El Forum - 07-28-2008, 02:10 PM
Mail sending problems. - by El Forum - 07-28-2008, 02:35 PM
Mail sending problems. - by El Forum - 07-28-2008, 02:43 PM
Mail sending problems. - by El Forum - 07-28-2008, 02:48 PM
Mail sending problems. - by El Forum - 07-28-2008, 02:53 PM
Mail sending problems. - by El Forum - 07-29-2008, 03:05 AM
Mail sending problems. - by El Forum - 07-29-2008, 03:13 AM
Mail sending problems. - by El Forum - 07-29-2008, 08:27 AM
Mail sending problems. - by El Forum - 07-29-2008, 08:36 AM
Mail sending problems. - by El Forum - 07-29-2008, 08:43 AM
Mail sending problems. - by El Forum - 07-29-2008, 08:50 AM
Mail sending problems. - by El Forum - 07-29-2008, 08:50 AM
Mail sending problems. - by El Forum - 07-29-2008, 08:52 AM
Mail sending problems. - by El Forum - 07-29-2008, 09:24 AM
Mail sending problems. - by El Forum - 07-29-2008, 09:26 AM
Mail sending problems. - by El Forum - 07-29-2008, 09:30 AM
Mail sending problems. - by El Forum - 05-11-2009, 08:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB