can anyone give me a working mailing script
this is the script im using though it aint working
can anyone tell me why it is working you can see the errors at
http://w3bs.frih.net/contactus.php
or here are the errors ive copy and pasted
Warning: main(c:\php\includes\class.phpmailer.php) [function.main]: failed to open stream: No such file or directory in /home/htmlrule/domains/w3bs.frih.net/public_html/checkform.php on line 121
Warning: main(c:\php\includes\class.phpmailer.php) [function.main]: failed to open stream: No such file or directory in /home/htmlrule/domains/w3bs.frih.net/public_html/checkform.php on line 121
Fatal error: main() [function.require]: Failed opening required 'c:\php\includes\class.phpmailer.php' (include_path='.:/usr/local/lib/php') in /home/htmlrule/domains/w3bs.frih.net/public_html/checkform.php on line 121
by the way line 121 is
willing to pay 540 frih to the first person who can give me a response that works
this is the script im using though it aint working
| Code: |
| <php?
$daQuery = $_POST['querybox']; $daEmail = $_POST['emailbox']; $daUsername = $_POST['namebox']; $daUrgency = $_POST['urgencybox']; require("c:\php\includes\class.phpmailer.php"); $mail = new PHPMailer(); $mail->IsSMTP(); $mail->Host = ""; $mail->SMTPAuth = true; $mail->Username = ""; $mail->Password = ""; $mail->From = "$daUsername"; $mail->FromName = " "; $mail->AddAddress(""); $mail->IsHTML(true); $mail->Subject = "$daUsername"; $mail->Body = "$daUsername has got a $daUrgency $daQuery svaed in the $daQuery database"; $mail->Send(); ?> |
can anyone tell me why it is working you can see the errors at
http://w3bs.frih.net/contactus.php
or here are the errors ive copy and pasted
Warning: main(c:\php\includes\class.phpmailer.php) [function.main]: failed to open stream: No such file or directory in /home/htmlrule/domains/w3bs.frih.net/public_html/checkform.php on line 121
Warning: main(c:\php\includes\class.phpmailer.php) [function.main]: failed to open stream: No such file or directory in /home/htmlrule/domains/w3bs.frih.net/public_html/checkform.php on line 121
Fatal error: main() [function.require]: Failed opening required 'c:\php\includes\class.phpmailer.php' (include_path='.:/usr/local/lib/php') in /home/htmlrule/domains/w3bs.frih.net/public_html/checkform.php on line 121
by the way line 121 is
| Code: |
| require("c:\php\includes\class.phpmailer.php"); |
willing to pay 540 frih to the first person who can give me a response that works
