Application / octet stream
Hey everyone, I have a very simple question, I created a script that will harvest invoices via ftp and email them using the mail-bot.
Here lies the problem.... i can get it to gather my files fine it just sends a blank file unless its a txt in the format of .v2. is there a format or type of microsoft access database?
$mailto = "some@somewhere.com";
$body = "ECA Status Log File";
$from = "mail-bot@whatever.com";
$file = "/usr/local/mail-script/weave/eca.v2";
$type = "application/octet-stream";
sendmsg($mailto, $subject, $body, $from, $file, $type)
Thanks,
Daredevil
|