0

Hi all,

When sending emails i get random ! in the tex! t a bit like this ! po!st

i believe its someting to do with RFC 2822

what can i do to my headers to rectify it?

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by whiteyoh
0

Hey.

If I am not mistaken, RFC 2822 is an old standard that defines the structure of an email. If you error has anything to do with this standard, it would be that your code doesn't comply to it.

Anyways, we can't really help you much without seeing your code. - Just the relevant bits. If there are hundreds of lines of HTML surrounding the email sending part, we don't need to see that :)

0

hi,

heres the top of the email. the rest is standard content (over 1000 characters long)

<?php
session_start();
$headers  = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: something@something.com\r\nReply-To: something@something.com";
//$to = $_SESSION['user_email'];
$to = $_SESSION['email'];
$subject = "Beat The Clock";
$body = "Hi, " . $_SESSION['name'] . "<br><br>"
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.