PDA

View Full Version : Email blocked



Kronk
08-14-2007, 05:37 PM
My emails from Action.php are being blocked by my ISP provider. Is there any way I can get them unblocked so I can use my preferred email address. I have temporarily set up a gmail address until I can get this problem solved. Also how can I find any emails which may already have been sent.

www.branthouseltd.co.uk (http://www.branthouseltd.co.uk)

navaldesign
08-15-2007, 01:09 AM
Which is your ISP ? if you can get in contact with them and have them tell you why the mail is blocked (missing headers or other reason) you could solve the problem.

Also, please post here the php script that you have used so we can check.

Kronk
08-15-2007, 06:52 PM
Here is the HTML for action.php. The e-mail address I would like to use is branthouse.mail@ntlworld.com (branthouse.mail@ntlworld.com)and my ISP is Virgin Media (ex NTL)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Action</title>

<meta name="AUTHOR" content="Darren Sanderson @ Branthouse LTD">
<meta name="KEYWORDS" content="branthouse,domestic,energy,assess,assessor,">
<meta name="DESCRIPTION" content="Branthouse LTD Domestic energy assessor">
<meta http-equiv="Page-Enter" content="blendTrans(Duration=1)">
<meta name="GENERATOR" content="Created by BlueVoda">
<style type="text/css">
div#container
{
width: 1106px;
position: relative;
margin-top: 0px;
margin-left: auto;
margin-right: auto;
text-align: left;
}
body
{
text-align: center;
margin: 0;
}
</style>
<script type="text/javascript" src="./jscookmenu.js"></script>
<style type="text/css">
.MenuBarMenuBar1Menu,.MenuBarMenuBar1SubMenuTable
{
font-family: Times New Roman, arial, sans-serif;
font-size:16px;
color: #31849B;
background-color: #000000;
font-weight: normal;
padding: 0;
border: 0;
cursor: pointer;
}
.MenuBarMenuBar1SubMenu
{
position: absolute;
visibility: hidden;
border: 0;
padding: 0;
}
.MenuBarMenuBar1SubMenuTable
{
border-top: 1px solid white;
}
.MenuBarMenuBar1Menu td
{
padding: 0px 3px 0px 3px;
}
.MenuBarMenuBar1SubMenuTable td
{
white-space: nowrap;
}
.MenuBarMenuBar1MainItem,.MenuBarMenuBar1MainItemH over,.MenuBarMenuBar1MainItemActive,
.MenuBarMenuBar1MenuItem,.MenuBarMenuBar1MenuItemH over,.MenuBarMenuBar1MenuItemActive
{
white-space: nowrap;
}
.MenuBarMenuBar1MainItemHover,.MenuBarMenuBar1Main ItemActive,
.MenuBarMenuBar1MenuItemHover,.MenuBarMenuBar1Menu ItemActive
{
color: #FEE7C5;
background-color: #000000;
font-weight: bold;
font-size: 16px;
}
td.MenuBarMenuBar1MenuSplit
{
overflow: hidden;
background-color: inherit;
}
div.MenuBarMenuBar1MenuSplit
{
height: 1px;
margin: 1px 0px 1px 0px;
overflow: hidden;
background-color: inherit;
border-top: 1px solid #31849B;
}
.MenuBarMenuBar1MenuVSplit
{
display: block;
width: 1px;
margin: 0px 3px 0px 3px;
overflow: hidden;
background-color: inherit;
border-right: 1px solid #31849B;
}
</style>
<style type="text/css">
a.style1:link {color: #31849B;text-decoration: none;}
a.style1:visited {color: #31849B;text-decoration: none;}
a.style1:active {color: #31849B;text-decoration: none;}
a.style1:hover {color: #31849B;text-decoration: underline;}
</style>
</head>
<body background="red2.jpg" bgcolor="#4F0000" text="#000000" link="#31849B" style="scrollbar-face-color:#31849B;scrollbar-arrow-color:#6ACFFF;scrollbar-3dlight-color:#31849B;scrollbar-darkshadow-color:#225A6A;scrollbar-highlight-color:#96CEDE;scrollbar-shadow-color:#3CA0BD;scrollbar-track-color:#BDE0EA;">
<?PHP
$mailto = "frenjohns@googlemail.com";
$email = $HTTP_POST_VARS['email'];
if ($email == "") {
$email = $mailto;
}
$mailsubj = "Web page Response";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form :\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
if ($key!="submit")
{
$mailbody .= "$key : $val\n";
}
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>
<div id="container">
<div id="bv_" style="position:absolute;left:290px;top:5px;width:527px;h eight:901px;z-index:0" align="left">
<img src="bv01114.gif" id="Shape4" align="top" alt="" border="0" width="527" height="901"></div>
<div id="bv_" style="position:absolute;left:238px;top:44px;width:57px;h eight:863px;z-index:1" align="left">
<img src="bv01115.gif" id="Shape13" align="top" alt="" border="0" width="57" height="863"></div>
<div id="bv_" style="position:absolute;left:143px;top:0px;width:145px;h eight:907px;z-index:2" align="left">
<img src="bv01116.gif" id="Shape1" align="top" alt="" border="0" width="145" height="907"></div>
<div id="bv_" style="position:absolute;left:310px;top:99px;width:483px; height:2px;z-index:3" align="left">
<img src="bv01117.gif" id="Shape3" align="top" alt="" border="0" width="483" height="2"></div>
<img src="better than her best3.gif" id="Image2" alt="" align="top" border="0" width="308" height="732" style="position:absolute;left:610px;top:139px;width:308px ;height:732px;z-index:4">
<div id="bv_" style="position:absolute;left:811px;top:44px;width:59px;h eight:863px;z-index:5" align="left">
<img src="bv01118.gif" id="Shape12" align="top" alt="" border="0" width="59" height="863"></div>
<div id="bv_" style="position:absolute;left:819px;top:1px;width:145px;h eight:905px;z-index:6" align="left">
<img src="bv01119.gif" id="Shape2" align="top" alt="" border="0" width="145" height="905"></div>
<div id="bv_" style="position:absolute;left:296px;top:97px;width:515px; height:2px;z-index:7" align="left">
<img src="bv01120.gif" id="Shape6" align="top" alt="" border="0" width="515" height="2"></div>
<div id="bv_" style="position:absolute;left:145px;top:0px;width:817px;h eight:39px;z-index:8" align="left">
<img src="bv01121.gif" id="Shape5" align="top" alt="" border="0" width="817" height="39"></div>
<div id="bv_" style="position:absolute;left:384px;top:49px;width:338px; height:55px;z-index:9" align="center">
<font style="font-size:48px" color="#31849B" face="Times New Roman"><a href="http://www.branthouseltd.co.uk/index.html" target="_self" class="style1">Branthouse Ltd</a></font></div>
<div id="bv_" style="position:absolute;left:380px;top:12px;width:354px; height:24px;z-index:10" align="left">
<script type="text/javascript">
<!--
var wbMenuMenuBar1 =
[
[null, 'Home', 'http://www.branthouseltd.co.uk/index.html', '_self', 'Home'],
_cmSplit,
[null, 'General&nbsp;Information', 'http://www.branthouseltd.co.uk/general.html', '_self', 'General Information'],
_cmSplit,
[null, 'Environmental', 'http://www.branthouseltd.co.uk/environmental.html', '_self', 'Environmental'],
_cmSplit,
[null, 'Provisos\'', 'http://www.branthouseltd.co.uk/proviso.html', '_self', 'Provisos\'']
];
-->
</script>
<div id="MenuIDMenuBar1"></div>
<script type="text/javascript">
<!--
var cmMenuBarMenuBar1 =
{
mainFolderLeft: '',
mainFolderRight: '',
mainItemLeft: '',
mainItemRight: '',
folderLeft: '',
folderRight: '',
itemLeft: '',
itemRight: '',
mainSpacing: 0,
subSpacing: 0,
delay: 100,
offsetSubAdjust: [0, -1]
};
var cmMenuBarMenuBar1HSplit = [_cmNoClick, '<td colspan="3"><div class="MenuBarMenuBar1MenuSplit"></div></td>'];
var cmMenuBarMenuBar1MainHSplit = [_cmNoClick, '<td colspan="3"><div class="MenuBarMenuBar1MenuSplit"></div></td>'];
var cmMenuBarMenuBar1MainVSplit = [_cmNoClick, '<div class="MenuBarMenuBar1MenuVSplit">|</div>'];
cmMenuBarMenuBar1.effect = new CMFadingEffect(30, 50);
cmDraw('MenuIDMenuBar1', wbMenuMenuBar1, 'hbr', cmMenuBarMenuBar1, 'MenuBarMenuBar1');
-->
</script>
</div>
<div id="bv_" style="position:absolute;left:211px;top:151px;width:156px ;height:156px;z-index:11" align="left">
<img src="bv01122.gif" id="Shape11" align="top" alt="" border="0" width="156" height="156"></div>
<div id="bv_" style="position:absolute;left:211px;top:321px;width:156px ;height:156px;z-index:12" align="left">
<img src="bv01123.gif" id="Shape16" align="top" alt="" border="0" width="156" height="156"></div>
<div id="bv_" style="position:absolute;left:211px;top:491px;width:156px ;height:156px;z-index:13" align="left">
<img src="bv01124.gif" id="Shape15" align="top" alt="" border="0" width="156" height="156"></div>
<div id="bv_" style="position:absolute;left:211px;top:661px;width:156px ;height:156px;z-index:14" align="left">
<img src="bv01125.gif" id="Shape14" align="top" alt="" border="0" width="156" height="156"></div>
<div id="bv_" style="position:absolute;left:289px;top:39px;width:529px; height:5px;z-index:15" align="left">
<img src="bv01126.gif" id="Shape8" align="top" alt="" border="0" width="529" height="5"></div>
<div id="bv_" style="position:absolute;left:824px;top:870px;width:145px ;height:30px;z-index:16" align="left">
<font style="font-size:8px" color="#FEE7C5" face="Arial">Web Design by<br>
Darren Sanderson @ Branthouse Ltd<br>
<a href="http://" target="<A href="mailto:branthouse.mail@ntlworld.com">branthouse.mail@ntlworld.com</a></font></div">branthouse.mail@ntlworld.com">branthouse.mail@ntlworld.com</a></font></div>
<div id="bv_" style="position:absolute;left:412px;top:113px;width:281px ;height:23px;z-index:17" align="center">
<font style="font-size:21px" color="#000000" face="Times New Roman">Domestic Energy Assessors</font></div>
<div id="bv_" style="position:absolute;left:409px;top:267px;width:338px ;height:124px;z-index:18" align="center">
<font style="font-size:27px" color="#31849B" face="Times New Roman">Thank you for your comment or question!<br>
We will get back to you as soon as we can.</font></div>
<a href="http://www.branthouseltd.co.uk/index.html" target="_self"><img src="100_0430.JPG" id="Image1" alt="" align="top" border="0" width="150" height="150" style="position:absolute;left:214px;top:154px;width:150px ;height:150px;z-index:19"></a>
<a href="http://www.branthouseltd.co.uk/general.html" target="_self"><img src="Power station4.jpg" id="Image4" alt="" align="top" border="0" width="150" height="150" style="position:absolute;left:214px;top:324px;width:150px ;height:150px;z-index:20"></a>
<a href="http://www.branthouseltd.co.uk/environmental.html" target="_self"><img src="safe world.jpg" id="Image3" alt="" align="top" border="0" width="150" height="150" style="position:absolute;left:214px;top:494px;width:150px ;height:150px;z-index:21"></a>
<a href="http://www.branthouseltd.co.uk/proviso.html" target="_self"><img src="The Banks018.JPG" id="Image6" alt="" align="top" border="0" width="150" height="150" style="position:absolute;left:214px;top:664px;width:150px ;height:150px;z-index:22"></a>
<div id="bv_" style="position:absolute;left:507px;top:856px;width:55px; height:32px;z-index:23" align="center">
<font style="font-size:13px" color="#000000" face="Arial"><a href="http://www.branthouseltd.co.uk/contact.html" target="_self">Contact Us</a></font></div>
</div>
</body>
</html>

navaldesign
08-15-2007, 07:30 PM
Your script is ok. I can only suppose that your ISP is blocking particular emails due to headers missing or for some other strange reason.

If you go into your CP webmail, you probably have there the bounced emails. Examining your ISP server response, you might find out why emails to that particular email address are blocked. Or, you can use an email address in your domain, and setup Outlook Express to recieve the mails directly in your desktop.

Kronk
08-17-2007, 05:38 PM
My ISP provider is a nightmare, have decided to redirect gmail to my preferred email address, this seems to work ok. Thank you for all your help.