Hello,
In my form users can upload images. This images must be attached by the email to the receiver.
The image is uploaded, but not attached to the mail. I have set enable attachment to yes.
What must i do for adding the images to the mail.
Here is the output of the debug:
E-mail message
From: Test [xxxx@xxxx.nl]
To: [email]xxxx@xxx.nl[/email]
CC:
BCC:
Subject: Bevesting ingevuld formulier
Testveld [email]xxxx@xxxx.nl[/email]
Test2 Test
Foto 1 20100610113308_Chrysanthemum.jpg
Foto 2 20100610113308_Hydrangeas.jpg
Foto 3 20100610113308_Koala.jpg
Submitted by 127.0.0.1
Files:
What is see is that under files (at the message output) nothing is shown.
In my form users can upload images. This images must be attached by the email to the receiver.
The image is uploaded, but not attached to the mail. I have set enable attachment to yes.
What must i do for adding the images to the mail.
Here is the output of the debug:
E-mail message
From: Test [xxxx@xxxx.nl]
To: [email]xxxx@xxx.nl[/email]
CC:
BCC:
Subject: Bevesting ingevuld formulier
Testveld [email]xxxx@xxxx.nl[/email]
Test2 Test
Foto 1 20100610113308_Chrysanthemum.jpg
Foto 2 20100610113308_Hydrangeas.jpg
Foto 3 20100610113308_Koala.jpg
Submitted by 127.0.0.1
Files:
1. Form passed first SPAM check OK
2. Form passed the submissions limit (if enabled) OK
3. Form passed the Image verification (if enabled) OK
4. Form passed the server side validation (if enabled) OK
5. $_POST Array: Array ( [testveld] => test [test2] => Test [button_5] => Verzenden [6b28cc906a7d225b1b1bce856b42fb06] => 1 [cfreturnurl] => http://localhost/form )
6. $_FILES Array: Array ( [file_1] => Array ( [name] => Chrysanthemum.jpg [type] => image/jpeg [tmp_name] => C:\xampp\tmp\php56B6.tmp [error] => 0 [size] => 879394 ) [file_2] => Array ( [name] => Hydrangeas.jpg [type] => image/jpeg [tmp_name] => C:\xampp\tmp\php56E6.tmp [error] => 0 [size] => 595284 ) [file_3] => Array ( [name] => Koala.jpg [type] => image/jpeg [tmp_name] => C:\xampp\tmp\php5715.tmp [error] => 0 [size] => 780831 ) )
7. Upload routine started for file upload by : file_1
8. C:\www\components\com_chronocontact\uploads\testform\20100610113308_Chrysanthemum.jpg has been uploaded OK
9. Upload routine started for file upload by : file_2
10. C:\www\components\com_chronocontact\uploads\testform\20100610113308_Hydrangeas.jpg has been uploaded OK
11. Upload routine started for file upload by : file_3
12. C:\www\components\com_chronocontact\uploads\testform\20100610113308_Koala.jpg has been uploaded OK
13. Form passed the plugins step (if enabled) OK
14. An email has been SENT successfully from (Test )xxxx@xxxx.nl to xxx@xxx.nl
15. An email has been SENT successfully from (Test)xxx@xxxx.nl to xxx@xxx.nl
16. Debug End
What is see is that under files (at the message output) nothing is shown.
Hi Joene1984,
Everything there looks OK. Please double check in the Email Setup | Properties box that the Enable Attchments : Yes setting has correctly saved.
Bob
Everything there looks OK. Please double check in the Email Setup | Properties box that the Enable Attchments : Yes setting has correctly saved.
Bob
Hi Joene1984,
Everything there looks OK. Please double check in the Email Setup | Properties box that the Enable Attchments : Yes setting has correctly saved.
Bob
When I go to the Email setup en look at the properties box if enable attachment is yes, he show yes. See uploaded attachment
Hi Joene1984,
Looks good, thank you.
. . . and it should be working . . . if you want to PM or email me the site URL and a SuperAdmin login then I'll take a quick look.
Bob
Looks good, thank you.
. . . and it should be working . . . if you want to PM or email me the site URL and a SuperAdmin login then I'll take a quick look.
Bob
Hi Joene1984,
Looks good, thank you.
. . . and it should be working . . . if you want to PM or email me the site URL and a SuperAdmin login then I'll take a quick look.
Bob
Send you an pm with the url and superadmin
Problem solved.
I was trying it on an windows server with apache and php installed on it. But the upload folder has 666 as permissionright.
I tried it on our hosting, who uses an linux server. Here it works. So i think it is an windows permission problem.
Thanks for helping me!
I was trying it on an windows server with apache and php installed on it. But the upload folder has 666 as permissionright.
I tried it on our hosting, who uses an linux server. Here it works. So i think it is an windows permission problem.
Thanks for helping me!
This topic is locked and no more replies can be posted.