Forums

Upload file - no attachment in the email

gabi 12 Mar, 2015
Email recieved, but no attachment.

I am missing something but I can't figure out what I am missing.

Can anybody help me?


Data Array

Array
(
    [chronoform] => Lejeformular
    [event] => submit
    [navn] => Jette Nielsen
    [adresse] => Horupsgade 50
    [postnr_by] => 6270 Tønder
    [telefon] => 24205507
    [e_mail] => jegni@youmail.dk
    [kontakt] => E-mail
    [dato] => 08-04-2015
    [tidsrum] => 1 døgn
    [kommentar] => tester
    [file_upload] => Vejledning underskrift i PDF.pdf
    [captcha] => 
    [submit] => Send min forespørgsel
    [ip_address] => 194.182.131.19
    [id] => 37
)

Array
(
)



Errors

Array
(
)



Debug Info

Array
(
    [7] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:gabi@youmail.dk
                    [2] => Subject:Forespørgsel i forbindelse med leje af forsamlingshuset
                    [3] => From name:Gørding Sogns Forsamlingshus
                    [4] => From email:noreply@goerding-sogns-forsamlingshus.dk
                    [5] => CC:
                    [6] => BCC:
                    [7] => Reply name:Jette Nielsen
                    [8] => Reply email:jegni@youmail.dk
                    [9] => Attachments:
                    [10] => Array
                        (
                        )

                    [11] => Body:
<p>Dette er en forespørgsel om at leje forsamlingshuset</p>
<table border="0" cellspacing="5" cellpadding="5">
<tbody>
<tr>
<td><strong>*Navn:</strong></td>
<td>Jette Nielsen</td>
</tr>
<tr>
<td><strong>*Adresse:</strong></td>
<td>Horupsgade 50</td>
</tr>
<tr>
<td><strong>*Postnr. og by:</strong></td>
<td>6270 Tønder</td>
</tr>
<tr>
<td><strong>Telefonnummer:</strong></td>
<td>24205507</td>
</tr>
<tr>
<td><strong>E-mail:</strong></td>
<td>jegni@youmail.dk</td>
</tr>
<tr>
<td><strong>Ønsker kontakt:</strong></td>
<td>E-mail</td>
</tr>
<tr>
<td><strong>Vælg dato:</strong></td>
<td>08-04-2015</td>
</tr>
<tr>
<td><strong>Tidsrum:</strong></td>
<td>1 døgn</td>
</tr>
<tr>
<td><strong>Kommentar:</strong></td>
<td>tester</td>
</tr>
<tr>
<td><strong>Vedhæftet:</strong></td>
<td>Vejledning underskrift i PDF.pdf</td>
</tr>
</tbody>
</table><br /><br />IP: 194.182.131.19
                )

        )

    [11] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:jegni@youmail.dk
                    [2] => Subject:Automatisk bekræftelse på din forespørgsel om leje af Gørding Sogns Forsamlingshus
                    [3] => From name:Gørding Sogns Forsamlingshus
                    [4] => From email:noreply@goerding-sogns-forsamlingshus.dk
                    [5] => CC:
                    [6] => BCC:
                    [7] => Reply name:Jette Nielsen
                    [8] => Reply email:gabi@youmail.dk
                    [9] => Attachments:
                    [10] => Array
                        (
                        )

                    [11] => Body:
<p>Til Jette Nielsen</p>
<p>Mange tak for din forespørgsel om at leje Gørding Sogns Forsamlingshus.</p>
<p>Jeg vil behandle din forespørgsel hurtigst muligt.</p>
<p>Dette er dine oplysninger, som du har sendt til os:</p>
<table border="0" cellspacing="5" cellpadding="5">
<tbody>
<tr>
<td><strong>*Navn:</strong></td>
<td>Jette Nielsen</td>
</tr>
<tr>
<td><strong>*Adresse:</strong></td>
<td>Horupsgade 50</td>
</tr>
<tr>
<td><strong>*Postnr. og by:</strong></td>
<td>6270 Tønder</td>
</tr>
<tr>
<td><strong>Telefonnummer:</strong></td>
<td>24205507</td>
</tr>
<tr>
<td><strong>E-mail:</strong></td>
<td>jegni@youmail.dk</td>
</tr>
<tr>
<td><strong>Ønsker kontakt:</strong></td>
<td>E-mail</td>
</tr>
<tr>
<td><strong>Vælg dato:</strong></td>
<td>08-04-2015</td>
</tr>
<tr>
<td><strong>Tidsrum:</strong></td>
<td>1 døgn</td>
</tr>
<tr>
<td><strong>Kommentar:</strong></td>
<td>tester</td>
</tr>
</tbody>
</table>
<p>Hvis du har yderligere spørgsmål, er du velkommen til at besvare denne email.</p>
<p>Venlig hilsen</p>
<p>Gørding Sogns Forsamlingshus</p>
<p>Marianne Thøisen</p><br /><br />IP: 194.182.131.19
                )

        )

    [8] => Array
        (
            [DB Save] => Array
                (
                    [Queries] => Array
                        (
                            [0] => INSERT INTO `forespoergsel_leje` (`navn`, `adresse`, `postnr_by`, `telefon`, `e_mail`, `kontakt`, `dato`, `tidsrum`, `kommentar`, `created`) values ('Jette Nielsen', 'Horupsgade 50', '6270 Tønder', '24205507', 'jegni@youmail.dk', 'E-mail', '08-04-2015', '1 døgn', 'tester', '2015-03-12 11:27:30');
                        )

                )

        )

)



[attachment=0]No attachment.pdf[/attachment]
GreyHead 13 Mar, 2015
Hi gabi,

Do you have file_upload in the Attachments box of the Email action?

If so, does it work if the upload file name has no spaces in it?

Bob
gabi 13 Mar, 2015
It still doesn't Work

My settings:

DESIGNER: File Field

Field name now: fileupload
Field ID: fileupload
Title: fileupload (don't know what this does)
Load state: Visible & Enabled
Enable ghost: yes


SETUP action: Email admin

Email format: Html
Attachment files: fileupload

action: Files upload

Files config: fileupload:jpg-png-gif-doc-docx-pdf
Array fields: fileupload (don't know what that does)
GreyHead 14 Mar, 2015
1 Likes
Hi gabi,

Please remove the Array Fields entry, that is only needed when you have an array of file upload elements with the same array name fileupload[]. If that is not the case - and it isn't in your form - the name will not be found.

Bob
gabi 14 Mar, 2015
Removed: Array fields: fileupload (don't know what that does)

But still no attachment


Data Array

Array
(
    [chronoform] => Lejeformular
    [event] => submit
    [navn] => Jette Nielsen
    [adresse] => Horupsgade 50
    [postnr_by] => 6270 Tønder
    [telefon] => 24205507
    [e_mail] => jegni@youmail.dk
    [kontakt] => Telefon
    [dato] => 25-03-2015
    [tidsrum] => 2 døgn
    [kommentar] => Endnu en test med vedhæng
    [fileupload] => Vejledning underskrift i PDF.pdf
    [captcha] => 
    [submit] => Send min forespørgsel
    [ip_address] => 194.182.131.19
    [id] => 48
)

Array
(
)



Errors

Array
(
)



Debug Info

Array
(
    [7] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:gabi@youmail.dk
                    [2] => Subject:Forespørgsel i forbindelse med leje af forsamlingshuset
                    [3] => From name:Gørding Sogns Forsamlingshus
                    [4] => From email:noreply@goerding-sogns-forsamlingshus.dk
                    [5] => CC:
                    [6] => BCC:
                    [7] => Reply name:Jette Nielsen
                    [8] => Reply email:jegni@youmail.dk
                    [9] => Attachments:
                    [10] => Array
                        (
                        )

                    [11] => Body:
<p>Dette er en forespørgsel om at leje forsamlingshuset</p>
<table border="0" cellspacing="5" cellpadding="5">
<tbody>
<tr>
<td><strong>*Navn:</strong></td>
<td>Jette Nielsen</td>
</tr>
<tr>
<td><strong>*Adresse:</strong></td>
<td>Horupsgade 50</td>
</tr>
<tr>
<td><strong>*Postnr. og by:</strong></td>
<td>6270 Tønder</td>
</tr>
<tr>
<td><strong>Telefonnummer:</strong></td>
<td>24205507</td>
</tr>
<tr>
<td><strong>E-mail:</strong></td>
<td>jegni@youmail.dk</td>
</tr>
<tr>
<td><strong>Ønsker kontakt:</strong></td>
<td>Telefon</td>
</tr>
<tr>
<td><strong>Vælg dato:</strong></td>
<td>25-03-2015</td>
</tr>
<tr>
<td><strong>Tidsrum:</strong></td>
<td>2 døgn</td>
</tr>
<tr>
<td><strong>Kommentar:</strong></td>
<td>Endnu en test med vedhæng</td>
</tr>
<tr>
<td><strong>Vedhæftet:</strong></td>
<td></td>
</tr>
</tbody>
</table><br /><br />IP: 194.182.131.19
                )

        )

    [11] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:jegni@youmail.dk
                    [2] => Subject:Automatisk bekræftelse på din forespørgsel om leje af Gørding Sogns Forsamlingshus
                    [3] => From name:Gørding Sogns Forsamlingshus
                    [4] => From email:noreply@goerding-sogns-forsamlingshus.dk
                    [5] => CC:
                    [6] => BCC:
                    [7] => Reply name:Jette Nielsen
                    [8] => Reply email:gabi@youmail.dk
                    [9] => Attachments:
                    [10] => Array
                        (
                        )

                    [11] => Body:
<p>Til Jette Nielsen</p>
<p>Mange tak for din forespørgsel om at leje Gørding Sogns Forsamlingshus.</p>
<p>Jeg vil behandle din forespørgsel hurtigst muligt.</p>
<p>Dette er dine oplysninger, som du har sendt til os:</p>
<table border="0" cellspacing="5" cellpadding="5">
<tbody>
<tr>
<td><strong>*Navn:</strong></td>
<td>Jette Nielsen</td>
</tr>
<tr>
<td><strong>*Adresse:</strong></td>
<td>Horupsgade 50</td>
</tr>
<tr>
<td><strong>*Postnr. og by:</strong></td>
<td>6270 Tønder</td>
</tr>
<tr>
<td><strong>Telefonnummer:</strong></td>
<td>24205507</td>
</tr>
<tr>
<td><strong>E-mail:</strong></td>
<td>jegni@youmail.dk</td>
</tr>
<tr>
<td><strong>Ønsker kontakt:</strong></td>
<td>Telefon</td>
</tr>
<tr>
<td><strong>Vælg dato:</strong></td>
<td>25-03-2015</td>
</tr>
<tr>
<td><strong>Tidsrum:</strong></td>
<td>2 døgn</td>
</tr>
<tr>
<td><strong>Kommentar:</strong></td>
<td>Endnu en test med vedhæng</td>
</tr>
</tbody>
</table>
<p>Hvis du har yderligere spørgsmål, er du velkommen til at besvare denne email.</p>
<p>Venlig hilsen</p>
<p>Gørding Sogns Forsamlingshus</p>
<p>Marianne Thøisen<br />Tlf.: 20 30 96 29</p><br /><br />IP: 194.182.131.19
                )

        )

    [8] => Array
        (
            [DB Save] => Array
                (
                    [Queries] => Array
                        (
                            [0] => INSERT INTO `forespoergsel_leje` (`navn`, `adresse`, `postnr_by`, `telefon`, `e_mail`, `kontakt`, `dato`, `tidsrum`, `kommentar`, `created`) values ('Jette Nielsen', 'Horupsgade 50', '6270 Tønder', '24205507', 'jegni@youmail.dk', 'Telefon', '25-03-2015', '2 døgn', 'Endnu en test med vedhæng', '2015-03-14 18:29:53');
                        )

                )

        )

)

GreyHead 14 Mar, 2015
Hi Gabi,

it looks as though you have the Upload Files action after the Email action. If so please swap them over so that the files are uploaded before the email is sent.

Bob
GreyHead 15 Mar, 2015
1 Likes
Hi Gabi,

That looks OK

By all means email or PM me the site URL, the form name, and a SuperAdmin login and I'll take a quick look.

Bob
gabi 15 Mar, 2015
Sent
gabi 16 Mar, 2015
Got 3 test email - but no attachment
GreyHead 16 Mar, 2015
Answer
1 Likes
Hi Gabi,

Fixed - after much digging - the Form method in the HTML (Render Form) action had been set to POST and not to FILE so the uploads were effectively disabled.

Bob
gabi 16 Mar, 2015
Oh. I was thinking of that and tried file as well, but that was before I removed the relay. Will check it out.
gabi 16 Mar, 2015
Yea it's working. I am happy now. Thanks a lot for taking time for me.

I really appreciate that.
Tolder 31 May, 2015
Hi there!

I'm getting the exact same error as Gabi does.
I have checked all the possible settings that you suggested including the POST/FILE option.
But no such luck 😟
Will you have a look at my form at:
http://ve-le.2lderlund.dk/index.php?option=com_chronoforms5&view=form&Itemid=1076&lang=en

I left the debugger action enabled, for you to see what's happening.

If you need Admin access to the site let me know.
But please - we are that close to having the forms part of the site done :-)

Best regards

Simon Tolderlund
GreyHead 31 May, 2015
Hi Simon,

The file is uploading OK - what do you have in the Attachments box of the Email action? It looks as though the entry should be file_upload

Bob
GreyHead 01 Jun, 2015
Hi Simon,

I just tested your form - I received the attachment in the admin email once I had added a valid To Email address in the action.

Bob
gabi 02 Jun, 2015
Hey Grey-Head

Did you answer in a wrong thread? My problem is solved, and I am not Simon
GreyHead 02 Jun, 2015
Hi Gabi,

It's the right thread, Simon (aka Tolder) posted a similar question at the end, sorry to have disturbed you.

Bob
gabi 02 Jun, 2015
Aha no worries. Just got confused because I cant see the question from Simon.

Have a nice day.
GreyHead 02 Jun, 2015
Hi Gabi,

Sorry I could see it so assumed that you could - normally I think new users posts auto-publish when I reply to them. This one didn't :-(

Bob
gabi 02 Jun, 2015
hehe.

Also, when you reply in this thread, I will get the email notification.

The one who asked wont, I suppose 🤨 😉
This topic is locked and no more replies can be posted.