codeigniter email error: "Undefined index: Subject Filename: libraries/Email.php Line Number: 969" |
[eluser]rjm[/eluser]
I cannot work out why I'm getting the error when attempting to send an email: Quote:A PHP Error was encountered Code: if($query = $this->member_contact->client_email($client_id)){
[eluser]InsiteFX[/eluser]
And where did you place this code in a controller library etc?
[eluser]rjm[/eluser]
[quote author="InsiteFX" date="1329637195"]And where did you place this code in a controller library etc? [/quote] Yes its a in the controller folder. Is it a bug because I've read other posts with this error and no one has a solution?
[eluser]InsiteFX[/eluser]
Well I just tried it using SMTP on my system with CI 2.1.0 and it worked fine! Code: public function send_emails() No errors at all sending SMTP like this... Make sure you set the crlf and newline! And here was my response Code: 220 omta17.westchester.pa.mail.comcast.net comcast ESMTP server ready
[eluser]rjm[/eluser]
Thanks for the help. It was many problems rolled into one. The first one being that it doesnt work on port 25 for some reason. Luckily my host had an alternative port I could use. This is what worked for me: Code: function send_email($customer_email, $client_email, $comment_string){ |
Welcome Guest, Not a member yet? Register Sign In |