MySQL Forums
Forum List  »  PHP

Re: mail() function
Posted by: Nick Roper
Date: August 01, 2005 03:24PM

Hi,

Here's an example of using the function:

<?php

$mail_address = "nroper@logical.co.uk";
$mail_subject = "Test";
$mail_body = "This is a test email";


$sent = mail($mail_address, $mail_subject, $msg_body,'From: webmaster@mydomain.com');

?>

What warning are you getting ?

Nick

--
Nick Roper

Options: ReplyQuote


Subject
Written By
Posted
July 18, 2005 02:08PM
Re: mail() function
August 01, 2005 03:24PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.