[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Sorry this newbie question...
- Subject: [cobalt-users] Sorry this newbie question...
- From: "José Luis Chafardet G." <joseluis@xxxxxxxxxxxxxxxx>
- Date: Tue Jan 28 23:33:01 2003
- Organization: DGTal Studios Information Communication & Design Integrated Solutions
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
I?m new to cobalt, readed a lot and my server seems to be messed up in
what sendmail concern, now I need to set it up, I have asked the ISP who
host it to fix it for me but they doesn?t answer me yet, how can I
reinstall sendmail on my server? There is a package available? Because I
have readed that a bad move installing sendmail from the shell and
goodbye server, and I don?t want to pay again a server reset (whas there
when sendmail stop working some error done by some user or power don't
know, and the isp where is located my server asked me to pay a re
configuration of my server) now I cant send mails from php with the
mail() function
The code:
<?php
$to = "info@xxxxxxxxxxxxxxxx";
$extra = "From: $Email\r\nReply-To: $Email\r\n";
$mess = "This is from: ".$Name."(".$REMOTE_ADDR.")\n\n".$Message;
$pattern = ".+@.+\..+";
if (eregi($pattern,$Email) and $Email and $Name and $Lastname and
$Subject and $Message) {
mail ($to, $Subject, $mess, $extra);
print "<p align=\"center\"><font color=\"#003366\" size=\"1\"
face=\"Verdana, Arial, Helvetica, sans-serif\"><strong>Thank $Lastname,
$Name. You will heard about us shortly." ;
}
else {
print "
MORE ELSE
More if
}
print "</UL>";
}
?>
In another server of a friend it worked the code, in the cobalt doesn?t.
could dome one please help?
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
José Luis Chafardet Grimaldi
DGTal Studios Information Communication & Design Intergrated Solutions
Presidente
http://www.dgtalstudios.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-