Jump to content
Fórum Script Brasil
  • 0

Formatação de email



Criei uma pagina para orçamento e não chega formatado no email.

Não pula as linhas e aparece as tags html

alguém pode me ajudar a verificar oque pode ser ?

$assunto="Contato pelo site";
$txt_nome= $_REQUEST['txt_nome'];
$txt_email= $_REQUEST['txt_email'];
$txt_fone= $_REQUEST['txt_fone'];
$comb_evento= $_REQUEST['comb_evento'];
$txt_n_conv= $_REQUEST['txt_n_conv'];
$txt_dt_evento= $_REQUEST['txt_dt_evento'];
$comb_tp_cardapio= $_REQUEST['comb_tp_cardapio'];
$txt_mensagem= $_REQUEST['txt_mensagem'];
$corpo= "<strong>Menssagem de contato</strong><br><br>";
$corpo .="<br><strong>Nome: </strong> $txt_nome";
$corpo .="<br><strong>email: </strong> $txt_email";
$corpo .="<br><strong>telefone: </strong> $txt_fone";
$corpo .="<br><strong>Evento: </strong> $comb_evento";
$corpo .="<br><strong>Convidados: </strong> $txt_n_conv";
$corpo .="<br><strong>DT evento: </strong> $txt_dt_evento";
$corpo .="<br><strong>Cardapio: </strong> $comb_tp_cardapio";
$corpo .="<br><strong>Menssagem: </strong> $txt_mensagem";
$header="From: $email Reply-to: $email";
$header.="Content-Type: text/html; charset= utf-8";
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Forum Statistics

    • Total Topics
    • Total Posts
  • Create New...