Mailto

Mailto là một phương pháp truy cập (scheme) URI cho địa chỉ thư điện tử. Nó được dùng để tạo một siêu liên kết trên trang mạng để cho phép người dùng gửi một thư điện tử tới một địa chỉ nào đó mà không cần phải cắt và dán vào một lá thư sau khi cho chạy một E-mail client. Nó bắt đầu được định nghĩa trong Request for Comments (RFC) 2368, công bố trong tháng 7 năm 1998,[1] và được cải thiện trong RFC 6068, công bố vào tháng 10 năm 2010.[2]

Thí dụ

Dùng "mailto" trong một tài liệu HTML để tạo ra một liên kết để gởi thư điện tử:

<a href="mailto:[email protected]">Send email</a>

Cũng có thể tạo ra nhiều địa chỉ:[2]

<a href="mailto:[email protected],[email protected]">Send email</a>

Địa chỉ cũng có thể để trống:

<a href="mailto:?to=&subject=mailto%20with%20examples&body=http://en.wikipedia.org/wiki/Mailto">Chia sẻ kiến thức này với...</a>

Chú thích

  1. ^ Hoffman, Paul; Masinter, Larry; Zawinski, Jamie (tháng 7 năm 1998). "The mailto URL scheme". Truy cập ngày 26 tháng 9 năm 2015.
  2. ^ a b Duerst, Martin; Masinter, Larry; Zawinski, Jamie (tháng 10 năm 2010). "The 'mailto' URI Scheme". Truy cập ngày 26 tháng 9 năm 2015.

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.