Not in the script
| Not in the script | |
14 November 2003
Now, here’s a good one. A low tech solution that might just mean you can afford to run one less script for a routine task such as sending out a hard copy brochure. The underlying code for an email link is mailto:info@exampleco.co.uk This where it gets interesting: there are ways and means to not only launch the user’s email programme and add in a pre-set Subject line, but also what appears in the body of the email itself. Big Bro or what? To fix the Subject line of the email message that opens when the user clicks on your email link, you need to add a bit more code. The email link then becomes (BTW, click on these links as we go along to see for yourself. Just don’t click send – the email will bounce) So far so good, we’ve now set up the email link in such a way that when it arrives in our inbox we can instantly tell two things. One, that the email is requesting a brochure. And two, that the email has been generated via our web site.
To go that extra mile and give the end user even less keyboard work, we can determine what the email says as well. The email link now becomes: | |
