in reply to Mail script is cutting out data.

You are Suffering from Buffering - have a look, it's an excellent read on the topic.

Makeshifts last the longest.