Forums

Email and File upload

Heilong 20 Aug, 2008
Hi everyone,
After testing my form succesfully, I received on my email the result including the attachment, and everything saved perfectly in the database.

First question, how to get the attachment from the admin panel under the form submitted view, for now it's just the name of the file, I'd like to have a link which allow me to download the file uploaded by the user.

Second, i saw some files uploaded in the upload folder, so I guess some users used the form which is currently online, but I didn't receive any email for the result of the form, I also didn't receive the attachment, but files are uploaded on the server, how can I fix this problem ? When I try my form eveything is ok, but when some user connect and use the form file are uploaded but I can't receive any email.

Thanks for help,
GreyHead 20 Aug, 2008
Hi Heilong,

It's impossible to know what's happening with the emails - but the most likely explanation is that they went in to a spam folder somewhere.

Not sure about accessing the files without more research, maybe Max has a quick answer.

Bob
Max_admin 20 Aug, 2008
Hi Heilong,

Which Chronoforms version do you have ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Heilong 21 Aug, 2008
Hello,

As i said when I try the form online, my data are saved correctly and the email is sent with the files attached.
But the problem is when user tests it online, files are uploaded but nothing is sent to my inbox, and nothing is saved to the database. I don't think it's in a spam folder as I received nothing.

I'm using this version : V2.5 J1.5 RC3.1.

Thanks for help, it's really urgent...
Max_admin 21 Aug, 2008
Hi Heilong,

this is really very strange, do you have any code in the onsubmit before email box ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Heilong 22 Aug, 2008
Hi,

I do have no code in the onsubmit before email box. i posted the form attached to this message.

Thanks,
Max_admin 22 Aug, 2008
what types of files you see uploaded in the uploads folder ? is it the types you are expecting like images..etc ? or CVs if you ask users to upload CVs for example ? don't you get any other users submissions ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 22 Aug, 2008
Hi Heilong,

In the form you posted:[list]
  • you have 'Gneneral |Email the results?' set to NO - and you have not entered any email addresses to send them to.
  • you have 'File Uploads | Enable Uploads' set to NO, and have not completed any of the required fields on this tab
  • [/list]

    If the form is working for you, then it looks like something miraculous is happening.

    Bob

    PS You could move your form JavaScript from the Form HTML box to the Javascript box (without the script tags).
    Heilong 22 Aug, 2008
    GreyHead,
    Did you look at the right file ?
    The file I posted is a backup of the form I'm using online, eveything is set correclty, and I don't even have any javascript in my HTML box, the Javascript box is done for that.
    So please take a look at the good file posted before, if you still see such an error, that means the backup functionnality is not working.
    -----------

    what types of files you see uploaded in the uploads folder ? is it the types you are expecting like images..etc ? or CVs if you ask users to upload CVs for example ? don't you get any other users submissions ?



    The files uploaded are pdf or doc files as restrict by my javascript function, and jpg also for the picture field, So yes, it's what I was expecting, and not any other kind of files are uploaded.

    I still don't know what's the problem.
    GreyHead 22 Aug, 2008
    Hi Heilong,

    Ah, - my mistake with the JavaScript, in too much of a rush.

    Opening your form it as a text file I can see that the Tab entries are there. We do recommend though that you have different email addresses in the To and From/ReplyTo fields.

    However, you do seem to have the whole of MooTools in the JavaScript box. I'm sure that's causing some of the problems. Did you put it there? Or is this a ChronoForms glitch? I'd suggest that you remove it all apart from the Accordion Manager and the validation code if they are needed.

    Bob
    This topic is locked and no more replies can be posted.