首页 > 其他分享 >html mailto 用法

html mailto 用法

时间:2022-11-19 22:38:00浏览次数:38  
标签:mailto 方式 send 用法 收信人 html 参数


HTML mailto用法





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


或者


<form action="mailto:[email protected]">


    ...


</form>


mailto后跟的是收信人


可使用参数列表


 to

 收信人

 subject

 主题

 cc

 抄送

 bcc

 暗送

 body

 内容


querystring方式:


<a href="mailto:[email protected]?subject=test&[email protected]&body=use mailto sample">send mail</a>


form方式:


<form name='sendmail' action='mailto:[email protected]'>


    <input name='cc' type='text' value='[email protected]'>


    <input name='subject' type='text' value='test'>


    <input name='body' type='text' value='use mailto sample'>


</form>


两种方式同样传递所有参数。

标签:mailto,方式,send,用法,收信人,html,参数
From: https://blog.51cto.com/u_15458282/5870766

相关文章

  • java html串转换成文本串
    采用htmlparser来解决将html串中抽取出文本串。Stringstr="<!DOCTYPEHTMLPUBLIC\"-//W3C//DTDHTML4.0Transitional//EN\">"+"<HTML><HE......
  • shared_ptr的get用法
    转自:https://blog.shipengx.com/archives/4094be86.html,讲的非常全面1.std::shared_ptr::getelement_type*get()constnoexcept; 获取指针,存储的指针指向 shared_......
  • C++11中using的用法学习
    转自:https://blog.csdn.net/shift_wwx/article/details/787424591.命名空间usingnamespacestd;//最常见的用法2.在子类中引入基类的成员当private继承时,可以通过usin......
  • HTML CSS 注册页面练习
    样式      展示      ......
  • 线程(Thread)基本用法
    一.线程的调用1.无参defrun_01():foriinrange(6,10):print("test01",i)time.sleep(1)th_01=threading.Thread(target=run_01)#创......
  • 特性Attribute的简单用法
    一、建立一个自定义的Attribute类注:类名+Attribute,类需要继承Attribute  ///<summary>///特性///</summary>publicclassSensitiveFileTypeA......
  • 80:eval()函数用法
    ###eval()函数 功能:将字符串str当成有效的表达式来求值并返回计算结果。语法:eval(source[,globals[,locals]])->value参数:source:一个Python表达式或函数com......
  • php将html生成为pdf文件的几个代码包比较
    最近需要开发一个生成pdf文件的程序,试用了下几个生成pdf包的效果<divstyle="width:80%;padding-right:3rem;padding-left:3rem;margin-right:3rem;margin-left:3rem;......
  • 使用dompdf等php包将html生成为pdf文件
    <?phprequire_once'./libs/tcpdf/vendor/autoload.php';require_once'./libs/mpdf/vendor/autoload.php';require_once'./libs/dompdf/vendor/autoload.php';$con......
  • 箭头函数与普通函数的区别、浏览器解析html的过程
    箭头函数与普通函数1.书写方式不同,箭头函数使用箭头定义,普通函数使用关键字 2.this指向不同:箭头:2.11箭头函数本身没有prototype,所以没有自己的this,2.21它的this只能......