tags:

views:

28

answers:

1

Have you encountered this error?

"Expected response code(s) [250] but got response []"

There's no response code at all.

I just followed the basic usage of the module. Something like this:

$email = new Email("Subject");
$email->to('[email protected]');
$email->message('Message');
$email->send('[email protected]');

Not sure on the SMTP configuration though. Any solution? Thanks.

A: 

The 250 code represents an acknowledgement of the last client request. If the server is not responding then either the swiftMailer class is very bugy (improbable) or there's something very weird in the server its connecting to.

Have you tried connecting to the same server using a conventional MUA?

C.

symcbean