Jesus im going bald here.
i have tried everyhing i can think of but it does not work local based email clients are fine but we based dydtems refuse to ccept my mail? any ideas why? ive tried \n and \r\n not sure how to use CrLf im using a windows box and as far as i can gather \n is windows and \r\n is linux
any words of wisdome?
require_once('../../php.components/contact.member.html.body.template.php');
// vars
$to = $row_alpha['email'];
$from = $_REQUEST['from'];
$body = $_REQUEST ['body'];
$to = $row_alpha ['email'];
// HEADERS
$headers = "From: me@mydomain\n"
."Reply-To: me@mydomain\n"
."MIME-Version: 1.0\n"
."Return-Path: me@mydomain\n"
."Content-type: text/html; charset=iso-8859-1\n"
."X-Priority: 1\n"
."X-MSmail-Priority: High\n"
."X-mailer: My mailer";
/* E-mail HTML */
mail ($to,"A freelove message from: $from", $body, $headers);
and heres the contents of contact.member.html.body.template.php
<?
$body='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link href="http://www.freelove.net.au/css/main.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="640" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3"><img src="http://www.freelove.net.au/grafix/banner.jpg" width="640" height="200"></td>
</tr>
<tr>
<td colspan="3" bgcolor="#990000"><img src="http://www.freelove.net.au/grafix/spacer.gif" width="640" height="1"></td>
</tr>
<tr>
<td colspan="3"><div align="right"><img src="http://www.freelove.net.au/grafix/spacer.gif" width="497" height="8">version
dev_001.04</div></td>
</tr>
<tr>
<td width="20"><img src="http://www.freelove.net.au/grafix/spacer.gif" width="20" height="10"></td>
<td width="600"><a href="http://www.freelove.net.au/index.php">home</a> - <a href="http://www.freelove.net.au/search/search_page.php">search</a> - <a href="http://www.freelove.net.au/registration/rego_1.php">join</a> - <a href="http://www.freelove.net.au/contact_user/contact_user.php">contact</a> - <a href="http://www.freelove.net.au/login/login_form.php">update
profile</a> - <a href="http://www.freelove.net.au/legal/terms.php">terms of use </a></td>
<td width="20"><img src="http://www.freelove.net.au/grafix/spacer.gif" width="20" height="10"></td>
</tr>
<tr>
<td colspan="3"><img src="http://www.freelove.net.au/grafix/spacer.gif" width="640" height="10"></td>
</tr>
<tr>
<td colspan="3" bgcolor="#990000"><img src="http://www.freelove.net.au/grafix/spacer.gif" width="640" height="1"></td>
</tr>
<tr>
<td colspan="3"><img src="http://www.freelove.net.au/grafix/spacer.gif" width="640" height="10"></td>
</tr>
</table>
<table width="640" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="10"><img src="http://www.freelove.net.au/grafix/spacer.gif" width="10" height="20"></td>
<td><table width="620" border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="71">from: </td>
<td width="519"><a href="mailto:'.$_REQUEST ['from'].'">'.$_REQUEST ['from'].'</a> </td>
</tr>
<tr>
<td>Said:</td>
<td>'.$_REQUEST ['body'].'</td>
</tr>
<tr>
<td> </td>
<td>do not reply to this message as the senbder will ot recieve it simply
click on their email address above </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table></td>
<td width="10"><img src="http://www.freelove.net.au/grafix/spacer.gif" width="10" height="20"></td>
</tr>
</table>
</body>
</html>'
?>
thanx
thewomb