<html><head><meta name="Generator" content="PSI HTML/CSS Generator"/>
<style type="text/css"><!--
body{font-family:'Arial';font-size:10pt;font-color:'#000000';}
LI{display:list-item;margin:0.00in;}
p{display:block;margin:0.00in;}
body{}
--></style>
</head><BODY ><div><SPAN style="font-family:'Arial';font-size:10pt;">Email issues still.</SPAN></div>
<div> </div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">I continue to have problems with scripts sending email from the BX servers.  I have enabled email for the domain, added a mail server to the smart relay. </SPAN></div>
<div> </div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">Here is some code that is used, but nothing gets sent.</SPAN></div>
<div> </div>
<div> </div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">//____SEND email now_______________________</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">function SendNow(){</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">if ( $this->email_format == 'html' ){</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">    $from = $this->email_from;</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">    $headers = "From: $from\n";</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">    $headers .= "Reply-To: $from\n";</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">    $headers .= "Return-Path: $from\n";</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">    $headers .= "MIME-Version: 1.0\n";</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">    $headers .= "Content-Type: text/html; charset=ISO-8859-1\n";</SPAN></div>
<div> </div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">    mail($this->email_to, $this->email_subject, $this->email_body,$headers);</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">} else {</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">    mail($this->email_to, $this->email_subject, $this->email_body, "From: $from");</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">}</SPAN></div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">}</SPAN></div>
<div> </div>
<div> </div>
<div><SPAN style="font-family:'Arial';font-size:10pt;">Also, I would think the smart relay would solve everything.   the BX server says:</SPAN></div>
<div> </div>
<div style="margin-top:0.07in;"><SPAN style="font-family:'Times New Roman';font-size:12pt;">Enter the fully-qualified domain name of an email server through which all outgoing email will be routed. </SPAN></div>
<div><SPAN style="font-family:'Times New Roman';font-size:12pt;">which to me is don't do anything, BUT, send all emails here to be handled.   I can't get admin emails out of the server most of the time either.</SPAN></div>
<div> </div>
<div><SPAN style="font-family:'Times New Roman';font-size:12pt;">Any ideas would be great!</SPAN></div>
<div> </div>
<div><SPAN style="font-family:'Times New Roman';font-size:12pt;">tony</SPAN></div>
<div> </div>
</body></html>