close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

File is not attached in email

Thread began 7/22/2011 3:25 am by StephenMartin | Last modified 7/25/2011 10:32 am by Ray Borduin | 7168 views | 19 replies |

StephenMartin

File is not attached in email

I followed the video tutorial and all looks well. When I submit my email with an attached file, it takes me to my thank you page. When I received the email all of the pertinent form info is there...including the attached file field and the name of the attached file, but no file. Nothing.

Could someone take a look and tell me what I'm doing wrong? Thanks.

index.php

Sign in to reply to this post

StephenMartin

Attached Submitted Email

Here is the email I received.

email.jpg

Thanks guys!

Sign in to reply to this post

Ray BorduinWebAssist

It is possible that you forgot to add the attached file in the attachment section of the UE Server Behavior? Maybe referenced it wrong there?

If you have added it to the attachments section properly, it could be that your form is not using the POST method, or enctype isn't set to "multipart/form-data".

Another possibility is that the file you attached is too large to be uploaded, or that the upload_tmp_dir in your php.ini file is set to a directory that doesn't exist or doesn't have adequate permissions.

Sign in to reply to this post

StephenMartin

I don't know what you are talking about.

Originally Said By: Ray Borduin
  It is possible that you forgot to add the attached file in the attachment section of the UE Server Behavior? Maybe referenced it wrong there?

If you have added it to the attachments section properly, it could be that your form is not using the POST method, or enctype isn't set to "multipart/form-data".

Another possibility is that the file you attached is too large to be uploaded, or that the upload_tmp_dir in your php.ini file is set to a directory that doesn't exist or doesn't have adequate permissions.  



Hi Ray, you've always been so great at helping me and I really appreciate you.

I bought the UE because of the webassist UE video's easy to use tutorial. There was no mention of "behaviors" or, "mutipart/form-data". The video simply shows how to insert the attachment feature into the form... and voila. I'm saying this, because I have no idea of what you are talking about. I have a client that is breathing down my neck and I cannot get this thing to work. Can we set up a support ticket so, either you, or one of the other techs, can take a look at my form and behaviors?

I appreciate it.

Stephen

Sign in to reply to this post

Ray BorduinWebAssist

Look at your <form> tag where the file is uploaded...

does it have:
<form enctype="multipart/form-data" method="post" >

That is what I mean by that part. The server behavior is the Universal Email interface where you set all of the universal email settings.

The other settings that could be wrong are in the php.ini file.

If you want to set up a time for an engineer to call you, you would have to purchase a premium support ticket. However you can continue to post questions here and I'll try to help as best as I can.

If you wan to attach a zipped copy of the page that you are submitting and the include file for the email I can take a look and see if those are the problem. If not it is most likely the upload_tmp_dir in your php.ini file and I can give you a script to test that as well through this forum.

Sign in to reply to this post

StephenMartin

Originally Said By: Ray Borduin
  Look at your <form> tag where the file is uploaded...

does it have:
<form enctype="multipart/form-data" method="post" >

That is what I mean by that part. The server behavior is the Universal Email interface where you set all of the universal email settings.

The other settings that could be wrong are in the php.ini file.

If you want to set up a time for an engineer to call you, you would have to purchase a premium support ticket. However you can continue to post questions here and I'll try to help as best as I can.

If you wan to attach a zipped copy of the page that you are submitting and the include file for the email I can take a look and see if those are the problem. If not it is most likely the upload_tmp_dir in your php.ini file and I can give you a script to test that as well through this forum.  



Hi Ray,

Are you referring to this form tag: <form action="" method="post" name="emailContact" id="emailContact">

I see no include file.

Thanks.

Sign in to reply to this post

Ray BorduinWebAssist

Looks like that is the issue... update the form to:

<form action="" enctype="multipart/form-data" method="post" name="emailContact" id="emailContact">

Sign in to reply to this post

StephenMartin

Originally Said By: Ray Borduin
  Looks like that is the issue... update the form to:

<form action="" enctype="multipart/form-data" method="post" name="emailContact" id="emailContact">  



Ok, that's what I thought you were referring to. Just making sure.

I'll give it a whirl.

Thanks, Ray!

Sign in to reply to this post

StephenMartin

Originally Said By: Ray Borduin
  Looks like that is the issue... update the form to:

<form action="" enctype="multipart/form-data" method="post" name="emailContact" id="emailContact">  



It didn't work, Ray. Now the attach field is missing from the email. Help!

Thanks

Sign in to reply to this post

Ray BorduinWebAssist

Here is a file you can use to test if uploading files works on your server.

Just browse to this page and try uploading a file. See if you get a success or failure message after uploading the same file you are trying to attach to your email.

If you get a success message, please send me a zip of the form page you are trying to use to send the email as well as the email configuration page that will be named after the page you applied Universal email to. It will be in the webassist/email/ directory.

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