Re: Attachment by Email

From: Date: Fri, 28 Jul 2000 21:43:25 +0000
Subject: Re: Attachment by Email
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-8869@lists.php.net to get a copy of this message
Your best bet is to read the RFC on MIME 1.0 and look at how various email programs format the header of a multi-part message. Hope this helps, Randy On Fri, 28 Jul 2000, Michael Kimsal wrote: > I'm pretty sure there isn't a way to do this - at least not > in a varied environment. There's probably some hidden MS API > to let you write a VBS to do this, but not in an average internet > setting. I'd looked into this some time ago (97) and there was > definitely nothing I could find then to do that - I say 'pretty sure' > these days because I think someone somewhere would have > started doing it as a virus by now (automatically attach a > password file, or autoexec.bat or something) when you open > an email. > > Another way to do this is to have PHP generate and the email itself, > creating the attachment for whatever file people needed (if > the files are coming from the main server). If the attached files > are to come from the local drives of the users, perhaps > create a small step by step process to walk them thru a file upload > and then send that file as an attachment. > > HTH > > > Jeremy MacIver wrote: > > > Hi All, > > > > Sorry if this is a simple question but i'm stuck! > > > > I am designing the company intranet - on one page we have a search which > > lists drawings from a directory on a unix box - the users can then click on > > the drawings which open up in a new browser window with a plugin. I thought > > i had done quite well to get this far! > > > > They have now decided that they need to email these drawings at the click of > > a button. > > > > What I need is a way of opening up their client email program and > > automatically attaching the relevant file to the email, is this possible? > > > > hope that made sense, > > > > Thanks in advance > > > > Jeremy > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > -- > ========================== > Michael Kimsal > http://www.tapinternet.com > 734-480-9961 > > > Randy Jonasz Software Engineer Click2net Inc. Web: http://www.click2net.com Phone: (905) 271-3550 "You cannot possibly pay a philosopher what he's worth, but try your best" -- Aristotle

« previous php.general (#8869) next »