»
Tiếng AnhTiếng PhápTiếng Việt

In - Gửi email cho danh sách - JavaScriptBank.com

Phiên bản đầy đủ: jsB@nk » Email » Gửi email cho danh sách
URL: https://www.javascriptbank.com/send-mail-to-list.html

Gửi email cho danh sách © JavaScriptBank.comTrình gửi thư điện tử cho danh sách địa chỉ thư điện tử có sẵn.

Phiên bản đầy đủ: jsB@nk » Email » Gửi email cho danh sách
URL: https://www.javascriptbank.com/send-mail-to-list.html



JavaScript
<SCRIPT LANGUAGE="JavaScript">function msg() {document.mailer.action = "mailto:" mailtoandsubject = ((document.mailer.mailtoperson.options[document.mailer.mailtoperson.selectedIndex].value) + '?subject=' + document.mailer.subject.value); } </SCRIPT> <!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<FORM NAME="mailer" METHOD="post" ACTION="" ENCTYPE="text/plain" onSubmit="(document.mailer.action += mailtoandsubject)"> <TABLE BORDER=0><TR VALIGN="top"><TD>Recipient:</TD><TD><SELECT NAME="mailtoperson" onChange="msg(this.form)"><OPTION VALUE="">-- Select --<OPTION VALUE="[email protected]">[email protected]<OPTION VALUE="[email protected]">[email protected]<OPTION VALUE="[email protected]">[email protected]</SELECT></TD></TR><TR VALIGN="top"><TD>Your Name:</TD><TD><INPUT TYPE="text" SIZE=45 NAME="name" onChange="msg(this.form)"></TD></TR><TR VALIGN="top"><TD>Your Email:</TD><TD><INPUT TYPE="text" SIZE=45 NAME="email" onChange="msg(this.form)"></TD></TR><TR VALIGN="top"><TD>Priority:</TD><TD><SELECT NAME="priority" onChange="msg(this.form)"><OPTION VALUE="Normal">Normal<OPTION VALUE="Urgent">Urgent<OPTION VALUE="No Reply Needed">No reply needed</SELECT></TD></TR><TR VALIGN="top"><TD>Subject:</TD><TD><INPUT TYPE="text" SIZE=45 NAME="subject" onChange="msg(this.form)"></TD></TR><TR VALIGN="top"><TD>Message:</TD><TD><TEXTAREA NAME="message" COLS=45 ROWS=5 WRAP="virtual" OnChange="msg(this.form)"></TEXTAREA></TD></TR><TR><TD> </TD><TD><INPUT TYPE="submit" VALUE="Send Message"><INPUT TYPE="reset" VALUE="Reset"></TD></TR></TABLE></FORM><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->