Email Attachment thru wesite

liunx

Guest
Hi, i am making a website and for it i have got a mailto command that sets up a pre-dtermined message with a subject and a body. The viewer types the email and can send it to anyone. However i want to add to this tag a command that will let me add attachments namely a sound file (.wav) i wish to embed in the email to play while the receiver reads his/her email. Can any one help? the command i use at the moment is<br />
<br />
Click, <a href=http://www.webdeveloper.com/forum/archive/index.php/"mailto:""?subject="Im sorry"&body="Please forgive me. I didnt mean to hurt you">here</a><br />
<br />
Is there perhaps a command i could add like "&attachment=/sorry.wav"<br />
<br />
Pls help. Thx<!--content-->I think the only way you are going to be able to do that is with serverside coding.<!--content-->o ok, but how do I do that?<br />
<br />
And is it possible to perhaps use java?<!--content-->By java, do you mean javascript? If so, no, I don't know of a way to do it. If you server supports PHP, take a look at these links:<br />
<br />
<!-- m --><a class="postlink" href="http://www.hollowearth.co.uk/tech/php/email_attachments.php">http://www.hollowearth.co.uk/tech/php/e ... hments.php</a><!-- m --><br />
<!-- m --><a class="postlink" href="http://www.phpbuilder.com/columns/kartic20000807.php3">http://www.phpbuilder.com/columns/kartic20000807.php3</a><!-- m --><!--content-->thx pyro these are helpful<!--content-->You bet... :)<!--content-->Bad news my server doesn not support php...<br />
<br />
I have found something though<br />
<br />
I could use a the form tag and there is a parameter that willl let me put in an attachment. However i dont fuly understand it because i dont know what kind of path i have to put, relative or actual?<br />
<br />
Could someone please enlighten me<!--content-->
 
Back
Top