+4 votes
129 views
Characteristics and use of mailto in html

in HTML5 / CSS3 by (360k points)
reopened | 129 views

1 Answer

+5 votes
Best answer

image


Mailto command:

Here we detail all the available modifiers for the mailto html code and with this we can put a link in our web to open the mail client and place the recipient automatically we have this command that more or less everyone knows:

 <A HREF="mailto:[email protected]"> Contact </A> 


Modifiers:

But the important thing is to know how to configure also other modifiers such as

Address: mailto: mail
To several recipients: mailto: mail1, mail2
Include an address as a copy: mailto: mail? Cc = mailparacopy
Include an address as a blind copy: mailto: mail? Bcc = emailcopy
Subject: mailto: mail? Subject = Subject
Body of the message: mailto: mail? Body = Hello% 0AThis is a test

* % 0A [Performs a line break for the body of the message.]


Example:

In this example we will see mixed all these modifiers as an example

 <A HREF="mailto:[email protected][email protected]; [email protected]&[email protected]&subject=Testing point &body=Hola%0AThis is a test"> Contact </A> 

by (2.2m points)
edited

Related questions

+3 votes
1 answer
asked Jun 24, 2019 in HTML5 / CSS3 by backtothefuture (360k points) | 6k views
+5 votes
1 answer
asked Sep 26, 2019 in HTML5 / CSS3 by backtothefuture (360k points) | 132 views
+5 votes
1 answer
asked Jun 23, 2019 in HTML5 / CSS3 by backtothefuture (360k points) | 108 views
+3 votes
1 answer
asked Jun 23, 2019 in HTML5 / CSS3 by backtothefuture (360k points) | 134 views
+3 votes
1 answer
asked Jun 23, 2019 in HTML5 / CSS3 by backtothefuture (360k points) | 88 views
Please leave a comment about whether the solution works or not (with device model)   [X]Close
6,895 questions
6,992 answers
277 comments
2 users