i changed in php.ini
SMTP=192.168.1.50
smtp_port=25
;for win32 only
sendmail_from = email_removed@your_domain.com
here 192.168.1.50 is the ip address of internal mail server
i wrote code like this
=================
Expand|Select|Wrap|Line Numbers
- <?php
- $to = "email_removed@your_domain.com";
- $subject = "Test mail";
- $message = "Hello! This is a simple email message.";
- $from = "mahesh.reddy@shantasoft.com";
- $headers = "From: $from";
- mail($to,$subject,$message,$headers);
- echo "Mail Sent.";
- ?>
please help me
thanks & regards
Madhu