PHP Mailer

the mail() function

Moderators: macek, egami, gesf

pinklady
New php-forum User
New php-forum User
Posts: 1
Joined: Thu Oct 02, 2008 7:43 am

PHP Mailer

Postby pinklady » Thu Oct 02, 2008 7:51 am

Hello,

Im a new coder using PHP, anybody who using Novell box here on their PHP? Because when I tried to download the PHP mailer and do all the set-up it doesn't work. Our admin says its way different Novell from UNIX platforms. The I tried to use this command and test was successful

LOAD sys:sendmail\send.nlm xxxl@xxx.com ddtpx1.xxx.com -dxxx_fs.xxx.com -fxxxx@xxxx.com -shello;

but when I tried to do it inside my php code it does work but no errors on my log and keeps me prompting to open or download the php script. I wish I explain it very well let me know if you have questions.

Code: Select all

<?php
// The message
$message = "Line 1\nLine 2\nLine 3";

// In case any of our lines are larger than 70 characters, we should use wordwrap()
$message = wordwrap($message, 70);

// Send
mail('caffinated@example.com', 'My Subject', $message);
?>

Return to “PHP coding => Mail”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest