[v-webmail] Help-me

  • From: GTSNet - Suporte Técnico <suporte@xxxxxxxxxxxxx>
  • To: <v-webmail@xxxxxxxxxxxxx>
  • Date: Tue, 29 Apr 2003 17:36:53 -0300


Hi.

Sorry for my question, but I have nobody to ask them.

I´m using one PHP script to send mails from my website. The sender is like
below, but the message that appear at de v-webmail is like this:

<style type=text/css>TD      {FONT-WEIGHT: normal; FONT-SIZE: 12px; COLOR:
black; FONT-FAMILY: Verdana, Arial, sans-serif}</style>
                <table width=80%>
                 <tr>
                  <td bgcolor=#000000 height=1 colspan=2></td>
                 </tr>
                 <tr>
                  <td><font size=5><b>Name:</b></font</td>
                  <td>Edmilson Junqueira de Mendonça</td>
                 </tr>
                  <td>E-Mail:</td>
                  <td>suporte@xxxxxxxxxxxxx</td>
                 </tr>
                  <td bgcolor=#000000 height=1 colspan=2></td>
                 </tr>
                 <tr>
                  <td bgcolor=#6699ff colspan=2 height=22 align=center><a
href=mailto:suporte@xxxxxxxxxxxxx>GTSNet Solutions/a></td>
                 </tr>
                </table>

I tell you that the HTML is enable and other messagens in HTML mode appear
OK at the v-webmail.

So, what´s wrong with my Script Sender?
Thank you for your help..

EdMendel
Brazil

<?
$font_begin   = "<font face=Verdana size=2>";
$font_end = "</font>";

// Date
$data = "<b>" . Date('d/m/Y') . "</b> às <b>" . Date('H:i:s') . "</b>";
// $data = "Data: ". Date('d/m/Y') . " Hora:" . Date('H:i:s');

// Recipient
$to  = "<congressosocial@xxxxxxxxxxxxx>";

// Subject
$subject = "E-MAIL - From WebSite";

// Bottom
$developer = "<a href=mailto:suporte@xxxxxxxxxxxxx>GTSNet Solutions</a>";
?>

<? $mensagem = "<style type=text/css>TD      {FONT-WEIGHT: normal;
FONT-SIZE: 12px; COLOR: black; FONT-FAMILY: Verdana, Arial,
sans-serif}</style>
                <table width=80%>
                 <tr>
                  <td bgcolor=#000000 height=1 colspan=2></td>
                 </tr>
                 <tr>
                  <td><font size=5><b>Name:</b></font</td>
                  <td>$nome</td>
                 </tr>
                  <td>E-Mail:</td>
                  <td>$email</td>
                 </tr>
                  <td bgcolor=#000000 height=1 colspan=2></td>
                 </tr>
                 <tr>
                  <td bgcolor=#6699ff colspan=2 height=22
align=center>$developer</td>
                 </tr>
                </table>";


   $header = "From: $email " .
   "\nReply-To:     $email " .
   "\nContent-Type: text/html charset=iso-8859-1\n";

   mail ($to, $subject, $mensagem, $header);
?>
===== End Script Sender=========

-- 
V-webmail Support Mailing List (http://www.v-webmail.org)
Archives: //www.freelists.org/archives/v-webmail/
To unsubscribe, send mail to: v-webmail-request@xxxxxxxxxxxxx
  with "unsubscribe" in the subject

Other related posts: