Error with Email Class |
[eluser]louis w[/eluser]
I am using the CI Email class with protocol = smtp and smtp_host set to the server address. No user or pass is set because the email server does not require it from my ip address. I am getting this error: 502 Error: command not implemented Seems like it is happening right after this: $this->_send_data('.'); But if I comment that out it still errors.
[eluser]Silvrbak[/eluser]
I don't think that is a function of the Email class. If you can post your code.
[eluser]Silvrbak[/eluser]
Example from the User Guide: Code: $this->load->library('email');
[eluser]louis w[/eluser]
I know how to use the email library. Wondering what the error "502 Error: command not implemented" is coming from. I did a google and the descriptions seem quite vague. I am using the smtp protocol with no u/p.
[eluser]Silvrbak[/eluser]
Ohhh, sorry about that. You're right about the error being vague. Even the RFC doesn't really define it. Check your server's mail logs if you can. It looks like you are trying to send a command that is not supported by SMTP or the command is malformed.
|
Welcome Guest, Not a member yet? Register Sign In |