EthernetServer + EthernetClient

I test with some debug and this line (if (email.connect(smtp, 587)) {) never is true.

Have you tried port 25 instead of 587? does the email work stand alone using port 587I've got some combined http client/server code that seems to work in combination.