I have been using this script to send emails to certain staff but because of changes to my system i have to now send attachements with the email and i have tried multipul pe
Ok this has not closed yet so I thought since I had exactly the same problem I would give you my solution which worked for me. I believe the previous mailer had it right. You need to identify the absolute path to your file. This is not always an easy thing to do especially if you operate on a shared server. In any event I embedded the following code on my page and it echoed out the exact path to that page. From there on it was easy to work out how to drop a level into the directory that held the files I wanted to attach.
'var_dump(stream_resolve_include_path("Thankyou.php"));'
Just copy and paste that line and put it into your page insert your page name and replace the Thankyou.php I have inserted (keep the speech marks). Run the page and retrieve your absolute path. Just delete it afterwords and insert the new path in the AddAttachment segment of PHPMailer.