Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installing PHPMailer-FE_v4.0.6 1

Status
Not open for further replies.

Bryan - Gendev

Programmer
Jan 9, 2011
408
AU
I have difficulty following the instructions given to do this and I get an error message with this testing code - after putting class.phpmailer.php in the root of my apache web along with phpmailer-fe.php

Code:
<?php
require("class.phpmailer.php");
$mail = new PHPMailer();
?>

I get

3. $mail = new PHPMailer();

Is this what is expected?

However when I fill out the sample form and Submit I get the response
Thank you for your submission.

but the content does not arrive at any of the addresses I specified in the phpmailer-fe.php document.

Does anyone have any other setup instructions - particularly about the folder _lib which I have placed in the root of my web.

Thanks

GenDev
 
the response you first mention is suggestive that you have not enabled or installed php.
you can test this very easily by creating a file in the same directory called test.php and including the following within it
Code:
<?php phpinfo(); ?>
include nothing else at all.
then point your browser at the file (via http and not via a file:// url, of course).

if you do not get a fulsome output about your php installation then you have not correctly enabled and/or installed php. go back, do this and then test phpformmailer again. the software works and is in use by tens of thousands of websites without any modification.
 
Thanks jpadie,

I have tested php as you suggest and get a large output page.

Thus my confusion, as you say 1000s use it.

Do you have a link to the setup instructions particularly with ref to the _lib folder which I have in my web root.

My apache is on a QNAP TS 209 box if that makes any difference.

I layed with php some years ago on a WAMP installation but am very rusty so would appreciate some guidance here.

I ask again (see above)

3. $mail = new PHPMailer();

Is this what is expected?
Thanks
GenDev
 
I ask again (see above)

3. $mail = new PHPMailer();

if you mean
Is it expected to see this text on the rendered html output by a script?

the answer is 'probably' not. it is, as I said, suggestive that you have not correctly configured either php or apache.

the form mailer help guide is a click away here:
be careful of the download links on the site. they are bust. form mailer is here:

and phpmailer is here:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top