voodoodyne / subethasmtp

SubEtha SMTP is a Java library for receiving SMTP mail
Other
343 stars 138 forks source link

Using a shell script to test the SMTP server #80

Open antonydenyer opened 8 years ago

antonydenyer commented 8 years ago

I'm using the SimpleExample.md to create and run an smtp server. I'm having trouble testing the server, when I telnet in to the server and send the commands manually everything seems to be fine. When I use a script cat commands.txt | telnet localhost 25000 or cat commands.txt | nc localhost 25000 nothing seems to work, the factory never gets called. I get a 220 response from the server on the command line but in the debugger console I get nothing.

I can use the same script with mailcatcher with no issues.

Any ideas? Thanks