Hi,
I am sending a mail through our smtp server using php.
this is wriiten in “test/sendmail.php”.
The code works fine when I use “localhost/testsendmail.php”
I have a page test.php with a button on it.
Now what I want to do is when a button is clicked; using javascript and ajax it will access the sendmail.php file and send the mail and the result “mail sent or error ” will be displayed in the test.php page.
I can access sendmail.php from my test.php page.
but I get the message “require_once(Mail.php) [function.require-once]: failed to open stream: No such file or directory in C:xampphtdocsiMonisendmail.php on line 7 “
looks like it is not accepting the path Mail.php
I can figure out why.
appreciate any help given. thanks and regards,