file upload correctly, but unable to attach that file to an email, using CI's email library |
[eluser]Brad K Morse[/eluser]
Using form, file, and email libraries: controller Code: <?php first line of debugger prints: Your message has been successfully sent using the following protocol: mail I receive the email, but it does not attach the file, screenshot of what it attaches: http://cl.ly/5AVF The file uploads properly to the uploads directory, but I am doing something wrong with capturing the filename of the file uploaded. If I hardcode the file-path & file-name into the $this->email->attach('uploads/image.png'); - I receive the file correctly in the email. Any help is appreciated. |
Messages In This Thread |
file upload correctly, but unable to attach that file to an email, using CI's email library - by El Forum - 03-11-2011, 01:35 PM
file upload correctly, but unable to attach that file to an email, using CI's email library - by El Forum - 03-11-2011, 02:14 PM
file upload correctly, but unable to attach that file to an email, using CI's email library - by El Forum - 03-11-2011, 02:19 PM
|