I am trying to use email package of fuelphp. I keep getting this error:
Email\SmtpCommandFailureException [ Error ]: Got an unexpected response from host on command: [QUIT] expecting: 221 received:
As per your comment in some discussion I changed newline="\r\n". then the page shows empty but email is not delivered. I use smtp server. Please help me. this is urgent.
When an email client sends the SMTP command "QUIT", the server should return with "221 Bye" or some other text before closing the connection. The Email class expects that, but appearently there are mailservers (qmail is an example) that can't be bothered and simply close the connectvion.
Without a number in front of it? What is this for mailserver? Do you know?
That looks like a Microsoft Exchange server, but that should reply "220 mail.example.com Microsoft SMTP MAIL Service ready at Wed 5 Oct 2016 17:23:00 +0100"