Hey guys I'm new to this forum. I've got a few questions maybe you guys can help me with.
I am running a process of scripts that receive a file via ftp then emails them to the listed users.The ftp parts works with beauty but the file attachment process isnt working correctly.
Here is an example:
$mailto = "rlewis@youguess.com"
$subject = "subject"
$body = "body"
$from = "mailbot@youguess.com"
$file = "/usr/local/mail-script/weave/eca.mdb"
$type = "application/octetstream"
Well I did some research and went to the file in linux that lists the avalible extensions and added one for msaccess but still a no go. I know that by ftp program copies it correctly but when it sends out the email it attaches a empty and unstructured file labled eca.mdb.
Do I have something wrong with the script or is it something else?
Thanks,
Daredevil
php automatic emailing script
Moderator: General Moderators
-
magicrobotmonkey
- Forum Regular
- Posts: 888
- Joined: Sun Mar 21, 2004 1:09 pm
- Location: Cambridge, MA