Re: File attachment via JS
By: Merlin to All on Sat Jan 07 2006 08:41 pm
Hi.
I want to edit my custom logon routines to email new users and attach a file the message. Is this at all possible using JavaScript?
Yeah, it should be.
Using JS I can create a message and set the attachment flag on the message okay, but how do I tell the message which file to attach and where do I put file?
The filename is in the subject of the message. Copy the file into the data/file/####.in directory (where #### is the user's account number, zero-padded to 4 digits).
digital man
Snapple "Real Fact" #19:
Children grow faster in the spring.
Norco, CA WX: 80.2øF, 28% humidity, 0 mph WSW wind, 0.00 inches rain/24hrs
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net