close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Attachment not working

Thread begun 12/10/2009 9:13 am by GaryDCoxDFW | Last modified 12/16/2009 4:19 pm by Jason Byrnes | 3428 views | 9 replies |

GaryDCoxDFW

Attachment not working

I have everything workin in universal email except the attachment, I followed the instructions, but what should be the trigger on the file upload the submit or what? her is the formula that was created ontheServer file Name binding I am using the same Directory of attachment_folder on the server

attachment_folder/<?php echo $WA_DFP_UploadStatus["WA_UploadResult1"]["serverFileName"]; ?>

any suggestion to reslolve the issue?

Sign in to reply to this post

Jason ByrnesWebAssist

can you confirm that the file is being uploaded properly?

For the File Attachment binding in Universal Email try using:

php:
<?php echo(realpath("attachment_folder/".$WA_DFP_UploadStatus["WA_UploadResult1"]["serverFileName"])); ?>
Sign in to reply to this post

GaryDCoxDFW

Getting the file name only not the file

I am one step a head, but I am now just getting the file name like picture.jpg as an example, but not the file, what should I do now the script got me to this point now thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

Send a copy of your page and the WA_UniversalEmail folder so I can have a look at the code.

Sign in to reply to this post

GaryDCoxDFW

Reply to your request

I had a java script erro come up so I uninstalled universal Email and Digital file pro deleted the config file upder roaming apps reinstalled all the extensions then tried it agian and the erroe cam back up I was also getting a script error when I deleted the attachment script and saved it an re opened u Email from the bindings tap I did not get the error (big suprise) I then started gettingthe Java script error so I screen captured it so you could see it also I will attach the u email directory as a seperate files. I had to get creatqative to send you the files under the Uemail directory so I converted them to a PDF I hope this is what you needed, let me know if it is not. Thanks for the assist.

Attached Files
MailFormatting_php.php.pdf
Mail_php.php.pdf
WAUE_emailform_php.php.pdf
Sign in to reply to this post

Jason ByrnesWebAssist

If you compress the Universal Email directory into a zip archive you can send the original php files, I will also need a copy of the php page you applied Universal Email to.

Sign in to reply to this post

GaryDCoxDFW

Here is you file

Instead of here is your sign Here is your files I love his jokes

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

Jason ByrnesWebAssist

try changing line 25 of the WAUE_emailform_1.php file:

php:
$WA_MailObject = WAUE_AddAttachment($WA_MailObject,"".(realpath("attachment_folder/".$WA_DFP_UploadStatus["WA_UploadResult1"]["serverFileName"]))  ." ");




to:

php:
$WA_MailObject = WAUE_AddAttachment($WA_MailObject,"".(realpath("../".$WA_DFP_UploadStatus["WA_UploadResult1"]["serverFileName"]))  ." ");
Sign in to reply to this post

GaryDCoxDFW

Sorry still nothing

Just got the file name from the 1&1 Server again.

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket to look into the issue with you. To update your support ticket, please log into your support history:
supporthistory.php?

Sign in to reply to this post
loading

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...