Processing Exchange message source code with the Easymailobject component (6)

Source: Internet
Author: User
Tags interface mail microsoft frontpage
Handling Exchange Message Source code---the interface for sending mail in ASP easymailobject (sendmail1.asp)

<%@ language= "VBSCRIPT"%>
<%
'*************************************

' This file is the interface for sending or replying to messages
' Author: Awayeah
' E-mail: awayeah@163.net

'*************************************


' Get the return address
Replyaddr=request.querystring ("addr")
' Get the subject of the message you want to return
Replysubj=replace (Request.QueryString ("subject"), "_", Space (1))
%>
<script language= "VBScript" >
Sub Cmdsubmit_onclick ()
If trim (frmsendmail.receive1.value) = "" Then
Alert ("You have not entered the recipient address, please enter!")
Frmsendmail.receive1.focus
Else
Frmsendmail.submit
End If
End Sub
</script>
<meta http-equiv= "Content-language" content= "ZH-CN" >
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
<meta name= "generator" content= "Microsoft FrontPage 4.0" >
<meta name= "ProgId" content= "FrontPage.Editor.Document" >
<title> Email </title>
<body bgcolor= "#008080" text= "#00FFFF" >
<div span=1 align=center>
<form method= "POST" action= "p_sendmail.asp" name= "Frmsendmail" >
<table border= "1" width= "455" cellspacing= "1" bgcolor= "#800080" >
<tr>
&LT;TD width= ">"
<p align= "right" ><b> sender </b></p>
</td>
&LT;TD width= "347" ><input type= "text" Name= "from" size= "></td>"
</tr>
<tr>
&LT;TD width= ><b> Sender's mailbox </b></td>
&LT;TD width= "347" ><input type= "text" name= "fromaddr" size= "></td>"
</tr>
</table>
<table border= "1" width= "455" height= "a" bgcolor= "#000080" >
<tr>
&LT;TD width= "height=" >
<p align= "Center" ><b> recipient </b></p>
</td>
&LT;TD width= "387" height= ">"
<p align= "left" ><input type= "text" name= "receive1" value= "<%=replyaddr%>" size= "></p>"
</td>
</tr>
<tr>
&LT;TD width= "height=" >
<p align= "center" ><b> Theme </b></p>
</td>
&LT;TD width= "387" height= ">"
<p align= "left" ><input type= "text" name= "subject" value= "<%=replysubj%>" size= "></p>"
</td>
</tr>
<tr>
&LT;TD width= "445" colspan= "2" height= "1" >
<table border= "0" width= "100%" height= "184" cellspacing= "0" cellpadding= "0" >
<tr>
&LT;TD width= "8%" height= "178" >
<p align= "center" ><b> </b>
<p align= "center" >
<p align= "center" ><b> Rong </b>
<p> </td>
&LT;TD width= "92%" height= "178" ><textarea rows= "ten" name= "BodyText" value= "<%=bodytext%>" cols= ">" </textarea></td>
</tr>
</table>
</td>
<tr> <td width= ">"
<p align= "center" ><b> Accessories </b></p>
</td> <td width= "387" ><input type= "file" Name= "att" size= "></td></tr>"
</table>
<p align= "center" ><input type= "button" value= "Send" Name= "Cmdsubmit" > <input type= "reset" value= "Rewrite All" Name= "B2" ></p>
</form>
</div>
</body>



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.