This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > March 2006 > Specifying email body copy





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Specifying email body copy
unknown72

2006-03-28, 6:29 pm

I know it's very straight forward to specify the subject line of an e-mail
link, i.e.

mailto:macromedia@macromedia.com?subject=Form Question

Is there a way I can also specify the actual body of the email? For example if
I wanted the body to say: I have a question

Any idea what code I need to add to the above line?

Thanks

phantomaussie

2006-03-28, 6:29 pm

This extension is old now, but it might still work

http://www.dreamweaver-extensions.com/email.htm

but if all else fails

<A HREF="mailto:email@email.com Subject=will go into the subject line
of email">Visible txt on page</A>

phantomaussie

2006-03-28, 6:29 pm

opps i miss read your email

i believe you add

?body=put your text in here

but it might not work in all email clients

Murray *ACE*

2006-03-28, 6:29 pm

There are only two ways to process form data -

1. Use mailto:name@domain.com as the action of the form
2. Use a server-side scripting method to a) harvest the form's data, b)
process it in some manner, e.g., enter it into a database, c) formulate and
send an email to one or more email recipients, and d) redirect the visitor
to some ending page

Method 1 is quite simple, and is also the least reliable. It depends both
on your visitor having an email client already installed on their computer -
this eliminates public computers, or home users without email clients
installed (more and more it seems) - and on the installed email client
responding to
the mailto call. It is not possible to use this method *and* send the
visitor to a
thank you page as well.

Method 2 is the preferred method, since it eliminates the problems of method
1, but it means that you have to grapple with server-scripting somehow (ASP,
CF, PHP, perl, etc.).

You have selected the least reliable method for your form's data.
Nevertheless, to do what you want, you would do it this way -

mailto:macromedia@macromedia.com?subject=Form Question&body=I have a
question.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"unknown72" <webforumsuser@macromedia.com> wrote in message
news:e0b87u$70g$1@forums.macromedia.com...
>I know it's very straight forward to specify the subject line of an e-mail
> link, i.e.
>
> mailto:macromedia@macromedia.com?subject=Form Question
>
> Is there a way I can also specify the actual body of the email? For
> example if
> I wanted the body to say: I have a question
>
> Any idea what code I need to add to the above line?
>
> Thanks
>



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews