SMTP Error - Undefined index: Subject |
[eluser]mwolf[/eluser]
I am trying to setup email to send via a SMTP service I registered for and I keep getting the Undefined index: Subject error message. Code: $this->load->library('email', $config); When outputting print_debuger, I see the following: Code: User-Agent: CodeIgniter I don't see any issues, but it continues to throw the same error. Code: A PHP Error was encountered Any idea what I am doing wrong? Any help is appreciated!
[eluser]Colin Williams[/eluser]
Just for grins, try moving the subject() call above message(). It shouldn't matter, but it's worth a shot.
[eluser]Colin Williams[/eluser]
K. It was a shot in the dark. I would get your hands dirty in the email class and start debugging. My first step would be to inspect the array that it is trying to access 'Subject' from. See what's up
[eluser]mwolf[/eluser]
It sounds like this is a bug in code igniter then? I'll see if I can track it down this evening.
[eluser]Unknown[/eluser]
Hi i am getting same error Code: $this->load->library('email'); any solution
[eluser]ch5i[/eluser]
I think there is a bug in Email.php => see this thread |
Welcome Guest, Not a member yet? Register Sign In |