Uploaded File Not Sent In Email

LikeStuff 13 Apr, 2012
When I upload a file it does not get sent in the email. I know in the older version I had to enable upload in the 'Email Properties' box. Where do I do that now? I can't seem to find it. Or should I be changing something somewhere else.

I'm using version: 4.0 RC3.21

Thanks!!
GreyHead 14 Apr, 2012
Hi LikeStuff,

Add the input name to the Attachments box in the Email configuration.

Bob
LikeStuff 17 Apr, 2012
Oh Boy! That was right in front of my eyes and I did not see it.

Thank you. I posted a pic here - hope it'll help others.
LikeStuff 18 Apr, 2012
The "Field Name" for the upload field is "UploadDocument".

I add the "Field Name" in Events > Email > General tab > Attachments fields name.
I think I did what I needed to do but the file is still not being sent.

What did I miss please? Thanks.
GreyHead 18 Apr, 2012
Hi Likestuff,

Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here. Note: if you are using the Easy Wizard you may need to switch to the Advanced Wizard to do this; if you want to continue to use the Easy Wizard please make a copy of your form first and add the Debugger action to the copy.

Bob
LikeStuff 18 Apr, 2012
Is this what you want to see? I just pasted the end part of the code as the upload section is at the bottom:

[UploadDocument] =>
[chrono_verification] => 438gu
[Submit] => SUBMIT
[5df1ecbe4522b6243e77088c701fea29] => 1
)

Validation Errors:

Array
(
)
GreyHead 18 Apr, 2012
Hi LikeStuff,

Please post all of it.

Bob
LikeStuff 18 Apr, 2012
Hi Greyhead,

Replied via PM. Thanks!!
GreyHead 22 Apr, 2012
Hi LikeStuff,

This should be OK now, there was no Upload Files action so there were no files to attach. I've added the action with minimum configuration and the Debugger shows that a pdf attaches OK.

Bob
LikeStuff 04 Jul, 2012
I'm creating a new form and I have 3 fields to upload a file. In Email > Attachments fields name, I add the following field names:
Upload_File_1,Upload_File_2,Upload_File_3


In the Files field I entered this:
Upload_File_1:doc-pdf-jpg-png-gif;Upload_File_2:doc-pdf-jpg-png-gif;Upload_File_3:doc-pdf-jpg-png-gif


The problem is I'm only receiving the first file. What am I missing please?

Thanks!!
GreyHead 04 Jul, 2012
Hi LikeStuff,

Please check the help text - I think both lists need to be comma separated and you have semi-colons in the second one.

Bob
LikeStuff 04 Jul, 2012
Thanks. It works now. I was using semi-colons instead of commas.
Upload_File_1:doc-pdf-jpg-png-gif,Upload_File_2:doc-pdf-jpg-png-gif,Upload_File_3:doc-pdf-jpg-png-gif
sham 10 Jul, 2012
Hi Greyhead,

Please save me from this issues which i am facing, I want to add attachment file which i already have in chronoform v3. After seeing your some forums, i added these lines of codes,
<?php
$MyForm =& CFChronoForm::getInstance('event_brochure'); 
$form_id = $MyForm->formrow->id; 
$MyUploads =& CFUploads::getInstance($form_id);
$file1 = JPATH_SITE.DS.'images' .DS. 'eventlist' .DS. 'broucher'.DS. 'photo1.gif';
$MyUploads->attachments = array($file1);
?>

But i am getting error,
Server error
The website encountered an error while retrieving http://www.mydomain.com/index.php?option=com_chronocontact&task=send&chronoformname=event_brochure. It may be down for maintenance or configured incorrectly.

Please help me out of this..

Thanks,
Sham
GreyHead 10 Jul, 2012
Hi Sham,

The error message looks like a problem with server settings or perhaps with the form name in the URL.

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