Forum Home
Press F1
 
Thread ID: 67967 2006-04-12 03:28:00 Email link from a website - with body text entered John W (523) Press F1
Post ID Timestamp Content User
445860 2006-04-12 03:28:00 Hi there

I was wondering if its possible to have an email link from a website, start a default program with text already filled in the Body section of the email.

Ive to create a Entryform, but would like to place some text in the body of the email that reminds the user of certain information.

Its easy enough to create an email link and add a subject line, but can I pre-enter text ?

Thanks...................John in Mosgiel.
John W (523)
445861 2006-04-12 03:42:00 See some examples here (www.outfront.net)

Or let this site (www.cmg02.com) generate the code for you.
Speedy Gonzales (78)
445862 2006-04-12 11:03:00 Sweet, thanks Speedy G, but for the life of me I cant get it to start another line/row.

Ive tried the %0D but it doesent work, neither does it work with the example code they provided.

Can you help?

Its for this site www.rtc100.co.nz down the bottom where it has a link to Entry Form

Thanks in anticipation.

John.
John W (523)
445863 2006-04-12 12:05:00 The mailto generator doesn't quite follow the rules:
Officially spaces should be converted to %20
You don't need the ; after the %0D either :-) Nor do you need the <p> and </p> tags.

Usually you'll get away without converting spaces to %20, but the link on your page wouldn't work for me unless I converted the spaces around the hyphen to %20 characters.

So, for example you could use:
href="mailto:me@mydomain.co.nz?subject=Send me email%20-%20please&body=Here is an email for you%0D From%20-%20Your name goes here"

Although to do it properly you should convert all the spaces. The example above works for me using firefox and IE with thunderbird. I don't have other email clients to try it out with.
Mickey (9928)
1