View Single Post
  #1  
Old 04-08-2010, 03:44 PM
Gazza is offline Gazza
Registered User

Join Date: Jul 2009
Posts: 9

Attachment Not Attaching on phMailer Form

Can anyone provide me with some help, I have made an error in the phMailer script but can't quite find out where.

Attached in the zip file is the php page, the form I am looking to use can be located at http://www.stroudskittles.co.uk/phMailer.php

It all works well with the Result Secretary Option directing the email to the Correct address, whilst by using a Chained Menu depending on the selection selected I can limit the team names.

The problem occurs however when I atempt to submit the form as I receive the following message

JavaScript Error
Destination:Object expected
Source:http://www.stroudskittles.co.uk/phMailer.php
Line:105

see more details?

I click on the ok option, in the bottom left it states Error on Page.

The page changes and a message appears stating

Warning:Missing argument 3 for pattach(), called in /home/public_html/phMailer.php on line 258 and defined in /home/stroud/public_html/phMailer.php on line 121

The auto response to the sender is fine, the problem however is the document is not attached to the email.

Any help very much appreciated

Many Thanks
Attached Files
File Type: zip phMailer-Form.zip (6.9 KB, 1 views)
Reply With Quote