I have an application that sends webpages (http), Data files through FTP and emails (SMTP) based on the inputs to the rabbit BL2600 board. All three services work fine however… after a successfull file send through FTP then SMTP send_email fails with NO_SOCK error. ( that is if the FTP goes first ).
if the SMTP sends an email first then the FTP connects and authenticates and goes passive (PASV) and then disconnects before sending the file. ( stopping after 200 or 227) The HTTP handler works fine and is unaffected.
Any Ideas? Could the FTP be using up all the Socks so that the SMTP has nothing left to work with?
Could sending an email cause the FTP to decide it does not need to send any files?