Still need help with php emailing script

Somewhere out there there has to be someone that can help me set up my lamp server to send automated emails using my cable providers SMTP server

Hi
You can just send from the machine using postfix, no need to use your
ISP’s server? Else you need to use YaST and the posfix module to
configure up as a relay.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.12-0.7-default
up 2 days 19:17, 3 users, load average: 0.02, 0.04, 0.00
GPU GeForce 8600 GTS Silent - Driver Version: 195.36.31

http://us4.php.net/manual/en/book.mail.php


<?php
$Name = "Da Duder"; //senders name
$email = "email@adress.com"; //senders e-mail adress
$recipient = "PersonWhoGetsIt@emailadress.com"; //recipient
$mail_body = "The text for the mail..."; //mail body
$subject = "Subject for reviever"; //subject
$header = "From: ". $Name . " <" . $email . ">
"; //opt headerfields
mail($recipient, $subject, $mail_body, $header); //mail command :)
?>


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.12-0.7-default
up 2 days 19:30, 3 users, load average: 0.03, 0.06, 0.01
GPU GeForce 8600 GTS Silent - Driver Version: 195.36.31