I have a javascript program that writes to the following file name in my cgi-bin...
$csvfilename = "$ENV{'DOCUMENT_ROOT'}/cgi-bin/fitness/orders/orders.csv";
which defines where the orders.csv file is located, but
how can this line be modified to cause the script to also
write to...
OK, now everything works great, extracting file to
directory on server, renaming it and resending file, EXCEPT
for one small thing. When the file called voicemail gets
sent back out it becomes voicemail.dat
The message type below is
Type => 'audio/x-mpeg',
so I'm not sure why it's not...
Bill, you're a genius! The script extracts the attachment
and over-writes the existing filename perfectly, but for
some reason the script isn't generating the outgoing email,
with or without the attachment. I'm sure it's just a symbol
missing somewhere, but I don't know where.
However...
Regarding this script which was provided by Rob M at
http://forums.devshed.com/showthread.php?s=&postid=299226#post299226
See my response beneath the second dashed line below:
-----------------------------------------------------------------------------------------------------------...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.