|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Is it possible to attach files( say html files) to emails sent using<a href=mailto..> - or javascript?Any help highly appreciated
Thanks Jay |
|
#2
|
||||
|
||||
|
its not possible using the mailto tag and I don't imagine javascript will let you do it either. You'll need to uses either some form of Sendmail program (PHP / Perl) or Cdonts (ASP 3) all of which run server side.
|
|
#3
|
|||
|
|||
|
I dont understand the question sorry :?
You are asking if its possible to attach files to an email using HTML link coding? Do you want to attach files, or link to files? |
|
#4
|
|||
|
|||
|
Hi
What I want to do is to send E cards. My idea is to get the message and choice of image from a form, create a html file and send as attachment to recipient. Any ideas , how i go about it. Thanks Jay |
|
#5
|
||||
|
||||
|
Use a server side language. I personally use asp at work, and it would fulfill this request perfectly. PHP is an open source (free) alternative to ASP, and I'm sure it would do just as well, but I don't know it so I can't give any other information.
This assumes you have a server of your own, or that your host allows server side scripting (and if they do, then use whichever they have available). |
|
#6
|
||||
|
||||
|
php is easy enough to use and most web host provide it free with the account. You simply need to look at setting up the email script to send html email. Leave the images on your own server and build each postcard as a webpage. Then stick it through the PHP script with vars for name, message etc and bingo
|
|
#7
|
||||
|
||||
|
Additionally, there is a good chance that a PHP script has already been written which accomplishes the task you're looking for, which you can simply implement on your server. In fact, I know of one right off the top of my head (search the PHP board for it, I believe I've already posted it in another question).
__________________
Give a person code, and they'll hack for a day; Teach them how to code, and they'll hack forever. Analyze twice; hack once. The world's first existential ITIL question: If a change is released into production without a ticket to track it, was it actually released? About DrGroove: ITIL-Certified IT Process Engineer - Enterprise Application Architect - Freelance IT Journalist - Devshed Moderator - Funk Bassist Extraordinaire |
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > attach file to emails |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|