Discussion:
How can I add a subject to an email link
(too old to reply)
JimBloxx
2007-09-19 09:56:19 UTC
Permalink
:grin;Hello, we have just started using Dreamweaver (V 8) to create some basic
HTML documents in our CRM system. Really pleased with the resulst!

One thing we would like is when we have a link to send an email is to have a
subject line in the email when the user clicks on the link.

Anyone knwo if this is posibble?

rgds

Jim
Murray *ACE*
2007-09-19 10:50:05 UTC
Permalink
<a href="mailto:***@example.com?subject=who is this">email</a>

Be aware that "mailto:" links are pretty unreliable in the scheme of things.
--
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
==================
Post by JimBloxx
:grin;Hello, we have just started using Dreamweaver (V 8) to create some basic
HTML documents in our CRM system. Really pleased with the resulst!
One thing we would like is when we have a link to send an email is to have a
subject line in the email when the user clicks on the link.
Anyone knwo if this is posibble?
rgds
Jim
JimBloxx
2007-09-19 13:48:09 UTC
Permalink
Thanks Murray!

Can you elaborate on the "mailto" links being unreliable? Is there a better
way we can have someone respond to the email?
Please bear with me - not a HTML or Dreamweaver expert so apologies if these
are "dumb" questions!

Jim
Michael
2007-09-19 14:33:24 UTC
Permalink
When using the mailto link, you are assuming the person clicking on the link
has their email set up correctly to send email. People using public
computers, such as at a public library may have the email client turned off
completely. A better way to do this would be to use server side scripting
,such as PHP or ASP, to ensure the message gets sent no matter what computer
they are on.

Michael
Post by JimBloxx
Thanks Murray!
Can you elaborate on the "mailto" links being unreliable? Is there a better
way we can have someone respond to the email?
Please bear with me - not a HTML or Dreamweaver expert so apologies if these
are "dumb" questions!
Jim
Alan
2007-09-19 14:49:26 UTC
Permalink
Post by JimBloxx
Can you elaborate on the "mailto" links being unreliable? Is there a better
way we can have someone respond to the email?
If you do use a mailto- the blank spaces should be urlencoded so they work
in all browsers.

http://www.dwfaq.com/Tutorials/Miscellaneous/special_links.asp
there's a form on that page that will give you cut and paste code.

I prefer to put a form on the page. It works for people on public computers
with no mail client, or who use a web mail client. The server side script to
send the email can be set so it hides the recipient's email address,
protecting it from harvest by spambots.
--
Alan
Adobe Community Expert, dreamweaver

http://www.adobe.com/communities/experts/
Nancy O
2007-09-19 16:40:45 UTC
Permalink
Replace spaces between words with %20 like so:

<a href="mailto:***@example.com?subject=This%20is%20subject"> email</a>

For a good all purpose PHP form mailer script
www.dbmasters.net/index.php?id=4

--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com
Post by Murray *ACE*
Be aware that "mailto:" links are pretty unreliable in the scheme of things.
--
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
==================
Post by JimBloxx
:grin;Hello, we have just started using Dreamweaver (V 8) to create some basic
HTML documents in our CRM system. Really pleased with the resulst!
One thing we would like is when we have a link to send an email is to
have
Post by Murray *ACE*
Post by JimBloxx
a
subject line in the email when the user clicks on the link.
Anyone knwo if this is posibble?
rgds
Jim
Murray *ACE*
2007-09-19 16:42:56 UTC
Permalink
Not necessary, Nancy, to replace the spaces in a mailto: link....
--
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
==================
Post by Nancy O
For a good all purpose PHP form mailer script
www.dbmasters.net/index.php?id=4
--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com
Post by Murray *ACE*
Be aware that "mailto:" links are pretty unreliable in the scheme of
things.
Post by Murray *ACE*
--
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
==================
Post by JimBloxx
:grin;Hello, we have just started using Dreamweaver (V 8) to create
some
basic
HTML documents in our CRM system. Really pleased with the resulst!
One thing we would like is when we have a link to send an email is to
have
Post by Murray *ACE*
Post by JimBloxx
a
subject line in the email when the user clicks on the link.
Anyone knwo if this is posibble?
rgds
Jim
Nancy O
2007-09-19 17:04:57 UTC
Permalink
What about browser email?
--Nancy
Post by Murray *ACE*
Not necessary, Nancy, to replace the spaces in a mailto: link....
--
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
==================
Post by Nancy O
For a good all purpose PHP form mailer script
www.dbmasters.net/index.php?id=4
--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com
Post by Murray *ACE*
Be aware that "mailto:" links are pretty unreliable in the scheme of
things.
Post by Murray *ACE*
--
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
==================
Post by JimBloxx
:grin;Hello, we have just started using Dreamweaver (V 8) to create
some
basic
HTML documents in our CRM system. Really pleased with the resulst!
One thing we would like is when we have a link to send an email is to
have
Post by Murray *ACE*
Post by JimBloxx
a
subject line in the email when the user clicks on the link.
Anyone knwo if this is posibble?
rgds
Jim
Murray *ACE*
2007-09-19 17:37:52 UTC
Permalink
I'm not sure what you mean. When the mailto: link is clicked all the action
takes place on the client. Spaces are immaterial there.
--
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
==================
Post by Nancy O
What about browser email?
--Nancy
Post by Murray *ACE*
Not necessary, Nancy, to replace the spaces in a mailto: link....
--
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
==================
Post by Nancy O
For a good all purpose PHP form mailer script
www.dbmasters.net/index.php?id=4
--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com
Post by Murray *ACE*
Be aware that "mailto:" links are pretty unreliable in the scheme of
things.
Post by Murray *ACE*
--
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
==================
Post by JimBloxx
:grin;Hello, we have just started using Dreamweaver (V 8) to create
some
basic
HTML documents in our CRM system. Really pleased with the resulst!
One thing we would like is when we have a link to send an email is to
have
Post by Murray *ACE*
Post by JimBloxx
a
subject line in the email when the user clicks on the link.
Anyone knwo if this is posibble?
rgds
Jim
Loading...