Gönderen: 23-Aralık-2007 Saat 00:29 | Kayıtlı IP
|
|
|
cdonts.newmail hazırladım yaptığım bir sitede çalışıyor kırmızı yazılı yerleri kendinize göre düzenleyin, sorun olursa yazın.
mail.asp olarak kaydet
<div align="center"> <style> TABLE#tblCoolbar { background-color:#ffffff; padding:1px; color:menutext; border:1px solid#000000; border-color:threedhighlight threedshadow threedshadow threedhighlight; } .cbtn { height:18; BORDER-LEFT: #ffffff 1px solid; BORDER-RIGHT: #ffffff 1px solid; BORDER-TOP: #ffffff 1px solid; BORDER-BOTTOM: #ffffff 1px solid; }
.txtbtn {font-family:tahoma; font-size:70%; color:menutext;}
</style> <% response.write request.form("body") if request.form("bcc")<>"" then mail_from = request.form("from") mail_to = request.form("to") mail_subject = request.form("subject") 'mail_cc = request.form("cc") mail_bcc = request.form("bcc") mail_body = request.form("body") 'on error resume next Dim myMail Set myMail = CreateObject("CDONTS.NewMail") myMail.From = mail_from myMail.To = mail_to myMail.Subject = "domainadin.com İletişim"&mail_subject myMail.BodyFormat = 0 myMail.MailFormat = 0 myMail.Body = mail_body myMail.Cc = mail_cc myMail.Bcc = mail_bcc myMail.Send Set myMail = Nothing %> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="10"> </td> <td width="49"><strong><font size="2" face="tahoma">Kimden</font></strong></td&a mp;a mp;g t; <td width="10">:</td> <td width="466"><%=request.form("from")%>;</td> <td width="10"> </td> </tr> <tr> <td width="10"> </td> <td width="49"><strong><font size="2" face="tahoma">Konu</font></strong></td> <td width="10">:</td> <td width="466"><%=request.form("subject")%></td> <td width="10"> </td> </tr> <tr> <td width="10"> </td> <td><strong><font size="2" face="tahoma">Mesaj</font></strong></td> ; ; ; <td width="10">:</td> <td><%=request.form("body")%></td> <td width="10"> </td> </tr> </table> <% else %>
<script LANGUAGE="JavaScript"> function button_over(eButton) { eButton.style.backgroundColor = "#B5BDD6"; eButton.style.borderColor = "darkblue darkblue darkblue darkblue"; } function button_out(eButton) { eButton.style.backgroundColor = "#ffffff"; eButton.style.borderColor = "#ffffff"; } function button_down(eButton) { eButton.style.backgroundColor = "#8494B5"; eButton.style.borderColor = "darkblue darkblue darkblue darkblue"; } function button_up(eButton) { eButton.style.backgroundColor = "#B5BDD6"; eButton.style.borderColor = "darkblue darkblue darkblue darkblue"; eButton = null; } //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~
var isHTMLMode=false
function document.onreadystatechange() { idContent.document.designMode="On" } function cmdExec(cmd,opt) { if (isHTMLMode){alert("Please uncheck 'Edit HTML'");return;} idContent.document.execCommand(cmd,"",opt);idContent.f ocus(); } function setMode(bMode) { var sTmp; isHTMLMode = bMode; if (isHTMLMode){sTmp=idContent.document.body.innerHTML;idConten t.document.body.innerText=sTmp;} else {sTmp=idContent.document.body.innerText;idContent.document.b ody.innerHTML=sTmp;} idContent.focus(); } function createLink() { if (isHTMLMode){alert("Please uncheck 'Edit HTML'");return;} cmdExec("CreateLink"); } function insertImage() { if (isHTMLMode){alert("Please uncheck 'Edit HTML'");return;} var sImgSrc=prompt("Insert Image File (You can use your local image file) : ", "http://www.mutluyuzbiz.com/5/images/yerkopru.jpg"); if(sImgSrc!=null) cmdExec("InsertImage",sImgSrc); } function Save() { if (isHTMLMode){alert("Please uncheck 'Edit HTML'");return;} var sImgTag = idContent.document.body.all.tags("IMG"); var oImg; for (var i = sImgTag.length - 1; i >= 0; i--) { oImg = sImgTag; alert("Add your code to Upload local image file here. Image Inserted : " + oImg.src ); } alert("Add your code to Save Document here"); alert("Your Document : " + idContent.document.body.innerHTML); } function foreColor() { var arr = showModalDialog("selcolor.htm","","font-family:Verdana; font-size:12; dialogWidth:30em; dialogHeight:34em" ); if (arr != null) cmdExec("ForeColor",arr); } function skon() { form1.body.value=idContent.document.body.innerHTML; form1.submit() } </script> <P><STRONG></STRONG></P> <form action="mail.asp" method="post" name="form1"> <table border="0" cellpadding="0" cellspacing="0" id="tblCoolbar"> <tr valign="middle"> <td colspan="17"><table height="24" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="52"><font size="2" face="tahoma">Kimden</font></td> <td width="5">:</td> <td> <input name="from" type="text" size="40"> </td> </tr> </table></td> </tr> <tr valign="middle"> <td colspan="17"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="52"><font size="2" face="tahoma">Konu</font></td> <td width="5"><font size="2" face="tahoma">:</font></td> <td><font size="2" face="tahoma"> <input name="to" type="hidden" size="27" value="buraya emailadresini yaz"> <input name="bcc" type="hidden" size="27" value="alternatif emailini yaz"> <input name="subject" type="text" size="40"> </font></td> </tr> </table></td> </tr> <tr valign="middle"> <td colspan="17"> <select name="select3" onChange="cmdExec('formatBlock',this[this.selectedIndex].value);this.selectedIndex=0"> <option selected>Style</option> <option value="Normal">Normal</option> <option value="Heading 1">Heading 1</option> <option value="Heading 2">Heading 2</option> <option value="Heading 3">Heading 3</option> <option value="Heading 4">Heading 4</option> <option value="Heading 5">Heading 5</option> <option value="Address">Address</option> <option value="Formatted">Formatted</option> <option value="Definition Term">Definition Term</option> </select> <select name="select" onChange="cmdExec('fontsize',this[this.selectedIndex].value);"> <option selected>Size</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="10">10</option> <option value="12">12</option> <option value="14">14</option> </select> <select name="select2" onChange="cmdExec('fontname',this[this.selectedIndex].value);"> <option selected>Font</option> <option value="Arial">Arial</option> <option value="Arial Black">Arial Black</option> <option value="Arial Narrow">Arial Narrow</option> <option value="Comic Sans MS">Comic Sans MS</option> <option value="Courier New">Courier New</option> <option value="System">System</option> <option value="Tahoma">Tahoma</option> <option value="Times New Roman">Times New Roman</option> <option value="Verdana">Verdana</option> <option value="Wingdings">Wingdings</option> <option value="haettenschweiler">Haettenschweiler</option> </select> </td> </tr> <tr> <td> <div class="cbtn" onClick="cmdExec('cut')" onmouseover="button_over(this);" onmouseout="button_out(this);" onmousedown="button_down(this);" onmouseup="button_up(this);"> <img hspace="1" vspace=1 align=absmiddle src="images/Cut.gif" alt="Cut"> </div></td> <td> <div class="cbtn" onClick="cmdExec('copy')" onmouseover="button_over(this);" onmouseout="button_out(this);" onmousedown="button_down(this);" onmouseup="button_up(this);"> <img hspace="1" vspace=1 align=absmiddle src="images/Copy.gif" alt="Copy"> </div></td> <td> <div class="cbtn" onClick="cmdExec('paste')" onmouseover="button_over(this);" onmouseout="button_out(this);" onmousedown="button_down(this);" onmouseup="button_up(this);"> <img hspace="1" vspace=1 align=absmiddle src="images/Paste.gif" alt="Paste"> </div></td> <td> <div class="cbtn" onClick="cmdExec('bold')" onmouseover="button_over(this);" onmouseout="button_out(this);" onmousedown="button_down(this);" onmouseup="button_up(this);"> <img hspace="1" vspace=1 align=absmiddle src="images/Bold.gif" alt="Bold"> </div></td> <td> <div class="cbtn" onClick="cmdExec('italic')" onmouseover="button_over(this);" onmouseout="button_out(this);" onmousedown="button_down(this);" onmouseup="button_up(this);"> <img hspace="1" vspace=1 align=absmiddle src="images/Italic.gif" alt="Italic"> </div></td> <td> <div class="cbtn" onClick="cmdExec('underline')" onmouseover="button_over(this);" onmouseout="button_out(this);" onmousedown="button_down(this);" onmouseup="button_up(this);"> <img hspace="1" vspace=1 align=absmiddle src="images/Under.gif" alt="Underline"> </div></td> <td> <div class="cbtn" onClick="cmdExec('justifyleft')" onmouseover="button_over(this);" onmouseout="button_out(this);" onmousedown="button_down(this);" onmouseup="button_up(this);"> <img hspace="1" vspace=1 align=absmiddle src="images/Left.gif" alt="Justify Left"> </div></td> <td> <div class="cbtn" onClick="cmdExec('justifycenter')" onmouseover="button_over(this);" onmouseout="button_out(this);" onmousedown="button_down(this);" onmouseup="button_up(this);"> <img hspace="1" vspace=1 align=absmiddle src="images/Center.gif" alt="Center"> </div></td> <td> <div class="cbtn" onClick="cmdExec('justifyright')" onmouseover="button_over(this);" onmouseout="button_out(this);" onmousedown="button_down(this);" onmouseup="button_up(this);"> <img hspace="1" vspace=1 align=absmiddle src="images/Right.gif" alt="Justify Right"> </div></td>
<td> <div class="cbtn" onClick="cmdExec('insertunorderedlist')" onmouseover="button_over(this);" onmouseout="button_out(this);" onmousedown="button_down(this);" onmouseup="button_up(this);"> <img hspace="2" vspace=1 align=absmiddle src="images/bullist.GIF" alt="Unordered List"> </div></td>
<td> <div class="cbtn" onClick="foreColor()" onmouseover="button_over(this);" onmouseout="button_out(this);" onmousedown="button_down(this);" onmouseup="button_up(this);"> <img hspace="2" vspace=1 align=absmiddle src="images/fgcolor.gif" alt="Forecolor"> </div></td> <td> <div class="cbtn" onClick="cmdExec('createLink')" onmouseover="button_over(this);" onmouseout="button_out(this);" onmousedown="button_down(this);" onmouseup="button_up(this);"> <img hspace="2" vspace=1 align=absmiddle src="images/Link.gif" alt="Link"> </div></td>
</tr> <tr> <td colspan="17"><iframe width="350" id="idContent" height="200" ></iframe></td> </tr> <tr> <td colspan="17"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <font size="2" face="tahoma"> <input name="Yolla" type="submit" value="Yolla" onclick="skon()"> <input type="hidden" name="body"> </font></td> </tr> </table></td> </tr> </table> </form>
<% end if%> <Hr> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td> </td> <td><font color="#000000"><strong>Adres</strong></fo nt></td> <td><font color="#000000">:</font></td> <td><font color="#000000">xxxxxxxx sokak no/2 - xxx / xxxx</font></td> <td></td> </tr> <tr> <td> </td> <td><font color="#000000"><strong>Telefon</strong></ font></td> <td><font color="#000000">:</font></td> <td><font color="#000000">+ 90 xxx xxx xx xx- <strong>Fax : </strong>+ 90 xx xxx xx xx </font></td> <td></td> </tr> <tr> <td> </td> <td><font color="#000000"><strong>Url</strong></font ></td> <td><font color="#000000">:</font></td> <td><font color="#000000"><a href="http://www.mutluyuzbiz.com">http://www.mutluyuzbiz.com</a></font></td> <td></td> </tr> <tr> <td> </td> <td><font color="#000000"><strong>Email</strong></fo nt></td> <td><font color="#000000">:</font></td> <td><font color="#000000"><a href="mailto:mail@mailim.com">mail@mailim.com</a></font></td> <td></td> </tr> </table> </div>
|