RE: [PHP] Regarding mail function
| From: | Sandeep Murphy | Date: | Mon, 07 Jan 2002 10:52:04 +0000 |
| Subject: | RE: [PHP] Regarding mail function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-79671@lists.php.net to get a copy of this message | ||
tettttt
-----Original Messa[Sandeep Murphy] ter ge-----
From: Balaji Ankem [mailto:balaji.ankem@wipro.com]
Sent: segunda-feira, 7 de Janeiro de 2002 10:55
To: php-general@lists.php.net
Subject: [PHP] Regarding mail function
Hi ,
My file name: bala.php
-------------------------------------------------------
<?php
mail("balaji.ankem@wipro.com", "hi friend", "Hi, how are you? Expecting
reply from you. -Bala");
?>
----------------------------------------------------
for the above program I am getting the following warning..
-----------------------------------------------------
Warning: Server Error in c:\www/bala.php on line 3
-----------------------------------------------------
I have changed in php.ini with my SMTP server (arabhi.wipro.com or
10.145.2.18)
In outlook settings we give the username and password for our mail server.
Is it required here also?
could you please tell available headers for e-mail function?
Is ther any headers like user name and password??
Any help greatly appreciable...
Thanks in advance.
-Balaji