if I put a file named test.txt in a directory or location...I want to send an email through my Outlook Express with attachment test.txt automatically. Can it be done? Any idea? Where can I get these example?
Timotheos
3:56 pm on Sep 29, 2004 (gmt 0)
I'd be 99.9% sure it can't be done with Outlook Express. I'd be 100% sure it could be done with PHP.
yllai
12:35 am on Sep 30, 2004 (gmt 0)
can you show me how to do it with Outlook Express?
Timotheos
5:11 am on Sep 30, 2004 (gmt 0)
Well, let me put it another way. I don't know how to do it and I don't think it can be done with Outlook Express. Why not use PHP?
yllai
5:43 am on Sep 30, 2004 (gmt 0)
can you share with me how it can be done by PHP? Any example?
jatar_k
4:37 pm on Sep 30, 2004 (gmt 0)
you could build a form on a site that has a mailer script attached to it. When you submit the form, into which you have put email address and message, it can then build the email and attach your file and send it.
yllai
5:46 am on Oct 1, 2004 (gmt 0)
can i have the script for attach file in mail?
Timotheos
6:21 am on Oct 1, 2004 (gmt 0)
Hi yllai,
Here's a tutorial on mail() and how to send a file as an attachment. [codewalkers.com...]
With a few modifications you should be able to do what you want.