close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Email Attachement Issues

Thread began 10/20/2009 1:21 pm by rob293221 | Last modified 10/20/2009 7:24 pm by rob293221 | 1536 views | 8 replies |

rob293221

Email Attachement Issues

Hello, I am having issues getting a file attachment to mail along with the text portion of the email. I have tried all the things listed on the "How to Include Attachments with your email form" and am still having no luck. I get the email just fine, no attachemt. I have attached my files. Please let me know if you find anything. Thanks!!

Attached Files
EmailUploadIssues.zip
Sign in to reply to this post

Jason ByrnesWebAssist

First, lets see if the files are uploadinjg successfully.

change line 46:

php:
$RecipientEmail = "webmaster@valleyheat.com";include("WA_Universal_Email/WAUE_application_1.php");



to:

php:
die("File 1:".$WA_DFP_UploadStatus["WA_UploadResult1"]["serverDirectory"]."".$WA_DFP_UploadStatus["WA_UploadResult1"]["serverFileName"]."<br>file 2:".$WA_DFP_UploadStatus["WA_UploadResult2"]["serverDirectory"]."".$WA_DFP_UploadStatus["WA_UploadResult2"]["serverFileName"]."<br>file 3:".$WA_DFP_UploadStatus["WA_UploadResult3"]["serverDirectory"]."".$WA_DFP_UploadStatus["WA_UploadResult3"]["serverFileName"]);

  $RecipientEmail = "webmaster@valleyheat.com";include("WA_Universal_Email/WAUE_application_1.php");




This should write he names of the uploaded files to the screen, please post back the results after testing.

Sign in to reply to this post

rob293221

This is what I got when I added that new line of code:

File 1:/home/valley/public_html/thegoodtube/TEMP_UPLOAD/
file 2:/home/valley/public_html/thegoodtube/TEMP_UPLOAD/
file 3:/home/valley/public_html/thegoodtube/TEMP_UPLOAD/

Sign in to reply to this post

Jason ByrnesWebAssist

So this means the files are not being uploaded.


add the following code at line 1:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>




then go to the bindings panel and add the debug info binding from the WA Uploaded Files Global Status group.


You will need to remove the die statement I had you add before.

Sign in to reply to this post

rob293221

I added that code to line 1, then put the infro from the bindings group directly under that. When i tested it, it proceeded to send the email. no attachment..

Sign in to reply to this post

Jason ByrnesWebAssist

Sorry, you need to remove the redirect from universal email so the page will not be redirected.

Also, the Debug info needs to go in the body of the document.

Sign in to reply to this post

rob293221

Here is what i got...

Warning: move_uploaded_file(/home/valley/public_html/thegoodtube/TEMP_UPLOAD/0.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/valley/public_html/thegoodtube/WA_DigitalFilePro/HelperPHP.php on line 176

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpAOqbRA' to '/home/valley/public_html/thegoodtube/TEMP_UPLOAD/0.jpg' in /home/valley/public_html/thegoodtube/WA_DigitalFilePro/HelperPHP.php on line 176

Warning: move_uploaded_file(/home/valley/public_html/thegoodtube/TEMP_UPLOAD/1.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/valley/public_html/thegoodtube/WA_DigitalFilePro/HelperPHP.php on line 176

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpSDDXJ4' to '/home/valley/public_html/thegoodtube/TEMP_UPLOAD/1.jpg' in /home/valley/public_html/thegoodtube/WA_DigitalFilePro/HelperPHP.php on line 176

Warning: move_uploaded_file(/home/valley/public_html/thegoodtube/TEMP_UPLOAD/1-1.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/valley/public_html/thegoodtube/WA_DigitalFilePro/HelperPHP.php on line 176

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpbLxbWD' to '/home/valley/public_html/thegoodtube/TEMP_UPLOAD/1-1.jpg' in /home/valley/public_html/thegoodtube/WA_DigitalFilePro/HelperPHP.php on line 176
WA_DFP_AllUploadsDebug()

Sign in to reply to this post

Jason ByrnesWebAssist

This means that the permissions on the folder:
/home/valley/public_html/thegoodtube/TEMP_UPLOAD/

do not include write permissions for all users.

You may be able to use Dreamweaver to change the permissions:

In the Files panel, select remote View.

Right Click the TEMP_UPLOAD folder and select Set Permisions.

Make sure to check Read and Write permissions for the Owner, User/group and Everyone users.

Sign in to reply to this post

rob293221

That did the trick, Thank you so much for your help! I so appreciate it!

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...