Welcome Guest, Not a member yet? Register   Sign In
Trouble sending attachments in email

This is so weird... I've done this before in other projects, and I've copied the code from there, but it doesn't work in this project.

Here's the debugging message

Unable to locate the following email attachment: docs/FloodInsurancePamphlets.pdf
Your message has been successfully sent using the following protocol: sendmail

In my other projects, I have the same directory 'docs' in the same location (the webroot) but for some reason, it can't find the documents to attach (and they ARE there, and the permissions for the files and directory are all correct)...

I thought it had something to do with the .htaccess file, but it's no different than the one I used in other projects, where I can successfully send email attachments...

I'm baffled.. Why wouldn't this work? What should I try?

Do you guys want any of my code to look at?

[eluser]Tyler Diaz[/eluser]
Quite Odd, I'll take a shot at the code. Post in the controller function to the mail send.

Theme © iAndrew 2016 - Forum software by © MyBB