close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

seeing html in email when using HTML Editor and custom email script

Thread began 5/23/2010 1:58 pm by cveiga2008379508 | Last modified 5/27/2010 11:02 am by cveiga2008379508 | 1369 views | 3 replies

cveiga2008379508

seeing html in email when using HTML Editor and custom email script

Hello!

I have problem on using HTML Editor in form to send email. It is possible to send email, but the message is in html format.

For more information see the attachement1 (Message received in html format), Attachement2 (Look of the form) and the code below.

Somebody can help me?.

Regards,

Celestino Veiga

<?php require_once( "WA_SecurityAssist/Helper_PHP.php" ); ?>
<?php
if (!WA_Auth_RulePasses("Logged in to tb_utilizadores")){
WA_Auth_RestrictAccess("pag_tb_utilizadores_LogIn.php");
}
?>
<?php require_once("HTMLEditor/WARichEditorPHP.php"); ?>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CONTACTO</title>
<style type="text/css">
<!--
.style18 { color: #993300;
font-family: Arial, Helvetica, sans-serif;
}
.style19 {color: #000066}
.style27 {color: #000000}
.style5 {
font-family: Arial, Helvetica, sans-serif;
text-align: center;
color: #009;
}
.contacto {
font-family: Arial, Helvetica, sans-serif;
}
.contacto {
font-family: Arial, Helvetica, sans-serif;
}
.contacto {
font-family: Arial, Helvetica, sans-serif;
}
.style29 {
font-size: 12px;
font-weight: bold;
}
body {
margin-left: 0px;
margin-top: 10px;
margin-right: 0px;
margin-bottom: 0px;
background-color: #99FF66;
}
.style34 {
font-family: Arial, Helvetica, sans-serif;
text-align: center;
font-size: 12px;
color: #00F;
font-weight: bold;
}
.contacto {
color: #CC0;
}
#form_contacto table {
}
-->
</style>
</head>

<body>
<table width="843" border="0" align="center" cellpadding="0" cellspacing="4" bordercolor="#66CC33" bg bgcolor="#66CC33">
<tr bordercolor= bordercolor="#66CC33" bgcolor="#66CC33">
<td width="150" height="36" align="left" valign="middle" bordercolor="#66CC33" bgcolor="#66CC33" class="contacto">&nbsp;&nbsp;</td>
<td width="714" align="left" valign="bottom" bordercolor="#66CC33" bgcolor="#66CC33" class="contacto"><p><strong><span class="style5 style19">CONTACTE - ME</span></strong></p></td>
</tr>
<tr bordercolor="#66CC33" bgcolor="#66CC33">
<td height="213" colspan="2" align="center" bordercolor="#66CC33" bgcolor="#66CC33"><form action="pag_envia.php" method="post" name="form_contacto" target="iframe_principal" id="form_contacto">
<table width="835" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2" align="right" valign="top" style="font-family:Verdana, Geneva, sans-serif; font-size: 14px;">Primeiro nome:&nbsp;&nbsp;&nbsp;</td>
<td colspan="2" align="left"><label>
<input name="primeiro_nome" type="text" id="primeiro_nome" size="45">
<br />
<br /></label></td>
<td width="51">&nbsp;</td>
</tr>
<tr style="">
<td colspan="2" align="right" valign="top" style="font-family:Verdana, Geneva, sans-serif; font-size: 14px;" >Último nome:&nbsp;&nbsp;&nbsp;</td>
<td colspan="2" align="left"><label>
<input name="ultimo_nome" type="text" id="ultimo_nome" size="45">
<br />
<br /></label></td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="2" align="right" valign="top" style="font-family:Verdana, Geneva, sans-serif; font-size: 14px;">Email:&nbsp;&nbsp;&nbsp;</td>
<td colspan="2" align="left"><label>
<input name="email" type="text" id="email" size="45">
<br />
<br /></label></td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="2" align="right" valign="top" style="font-family:Verdana, Geneva, sans-serif; font-size: 14px;">Assunto:&nbsp;&nbsp;&nbsp;</td>
<td colspan="2" align="left"><label>
<input name="assunto" type="text" id="assunto" size="45">

<br />
<br />
</label></td>
<td>&nbsp;</td>
</tr>

<tr>
<td colspan="2" align="right" style="font-family:Verdana, Geneva, sans-serif; font-size: 14px;">Mensagem:&nbsp;&nbsp;&nbsp;</td>
<td colspan="3" align="left"><?php
// WebAssist iRite: Rich Text Editor for Dreamweaver
$WARichTextEditor_1 = CreateRichTextEditor ("mensagem", "HTMLEditor/", "100%", "400px", "Custom", "../custom/pag_contacto_mensagem1.js", "".((isset($_COOKIE[""]))?$_COOKIE[""]:"") ."");
?> </label></td>
</tr>

<tr class="contacto">
<td width="115" height="26" align="right"><input type="reset" name="limpar" id="limpar" value="Limpar" /></td>
<td width="25" class="contacto">&nbsp;</td>
<td width="678">&nbsp;</td>
<td width="4">&nbsp;</td>
<td align="right"><input type="submit" name="enviar2" id="enviar2" value="Enviar" /></td>
</tr>
</table>
</form></td>
</tr>
</table>

</body>
</html>

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...