• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Subject line in an email hyperlink

New Here ,
May 25, 2022 May 25, 2022

Copy link to clipboard

Copied

Why doesn't Dreamweaver ask for a SUBJECT LINE when creating an email hyperlink ? 

It seems like a blindlingly obvious feature to have.

PLEASE can we have an email link button that asks for SUBJECT LINE TEXT...and perhaps BODY text too ?

Views

275

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , May 25, 2022 May 25, 2022

To my knowledge, from the hyperlink insertion dialog box proposed by DW, it is not possible to add either the SUBJECT nor the BODY.


The only possibility is to enter these two parameters directly in the code, as :

 

mailto:foo@foo.com?subject=Your subject&body=Your content

 

 

Votes

Translate

Translate
Community Expert ,
May 25, 2022 May 25, 2022

Copy link to clipboard

Copied

There are several points to address in your request...


The first, and the one that will answer your question, is that... DW does not offer this feature natively and that DW having gone into maintenance mode, there will be no more update, except to keep DW running on the various current operating systems.

 

But there are other points that raise questions.

In fact, it is not very recommended to use the mailto: protocol for two reasons (at least):

 

On the one hand, what happens if the user is browsing from a computer that is not his own, that will open the mailbox of the owner and not the one of the caller.

or

if the user uses a webmail type of messaging system? in that case, the mailto: protocol will not be able to succeed and may try to open the system's default messaging system, causing a problem to the end user.

 

But, and worth, on the other hand any sniffer will be able to spam the clear indicated URL and the service.

 

So it is better to manage all mail sending from the server and not to delegate it to a third independent service (mailbox among others).

 

For that you can use the PHP framework PHPmailer which is very simple to use and which allows to work the sending of mail in full safety, by adding SUBJECT, BODY, ATTACHMENTS and much more
https://github.com/PHPMailer/PHPMailer
A very basic example
https://github.com/PHPMailer/PHPMailer/blob/master/examples/mail.phps

 

Of course, if you need further explanations, please don't hesitate.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 25, 2022 May 25, 2022

Copy link to clipboard

Copied

Thanks, Lena,
I teach HTML at a high school.....generating the code for an email
hyperlink is in the syllabus. It's something that is required to be taught,
so the pros and cons of using mailto: are irrelevant to me.
I need the kids to be able to code this stuff as easily and simply as
possible.

--

Robert Parker

[private info removed by moderator]

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 25, 2022 May 25, 2022

Copy link to clipboard

Copied


@Robert24264369s06t wrote:

generating the code for an email
hyperlink is in the syllabus. It's something that is required to be taught,
so the pros and cons of using mailto: are irrelevant to me.

Robert Parker

[private info removed by moderator]


 

Please for the sake of your students, teach it because it's in your syllabus, which does need to be updated, but tell them why they shouldn't use it and explain the advice that has been offered.  This feature is not going to be available in any modern editor, Dreamweaver aside, so at the most you are going to write down and have the students copy/paste the solution. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 25, 2022 May 25, 2022

Copy link to clipboard

Copied

To my knowledge, from the hyperlink insertion dialog box proposed by DW, it is not possible to add either the SUBJECT nor the BODY.


The only possibility is to enter these two parameters directly in the code, as :

 

mailto:foo@foo.com?subject=Your subject&body=Your content

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 25, 2022 May 25, 2022

Copy link to clipboard

Copied

LATEST
quote

It seems like a blindlingly obvious feature to have.

==========

@Robert24264369s06t

Mailto: links are highly risky for many reasons and should not be used. 

1. It exposes your email address to every email harvester on the planet. 

2. It puts your address at risk for exploitation by spam bots (copycats) and blacklisting by email services and web hosts. 

3. It's useless for the majority of people who have web-based email  -- Gmail, Yahoo, HubSpot... 

4. Mailto: link does nothing without an email client installed on the user's device.  Nobody uses  Outlook or Windows/Apple Mail these days. 

 

If you want people to reach you, use a secure contact form.  DO NOT expose your email address online unless you want nothing but trouble.

 

Online Form Services:

Wufoo.com

JotForm

 

Embed a Sign-Up Form:

Mailchimp

 

DIY Contact Form & Secure Form Processing Script:

PHPMailer

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines