Posted on 2010-08-25
I have reached about the end of my patience with this guys so I am hoping someone could let me know whats going on.
I think I know what the problem maybe but have no idea how to solve it.
If I can get away from showing the public the code I would appricate it as it's took me month's to develop to get this far.
Basicly I am using stream_socket_client in non blocking mode to connect to multiple smtp servers at the same time using stream_select.
Everything is working perfectly and I can achieve 600k + emails an hour to our opted in members list with one script so I am pritty happy about that.
The problem is when I try to use a large email copy i.e 200+ html lines things stop working...it seams to be a limit on fwrite and quite possibly fwrite is simply not sending all the lines to the smtp server to finish the connection.
Does any one know of any limits or to get around it using sockets/fwrite...I've tried sending a series of different fwrites but the moment I introduce too much combined html it fails.
Thanks so much for your help!