How to attach a file on reply

Ron 26 Jan, 2014
Hello,

I do not find how to automatically attach a fire along with a thank you reply on form fill by a guest. I did it earlier as there was a field "Attachments fields name". I do not find it now,

Can I get some help on it ? My code that I use is as below:

    switch ($_POST['downloads'])
    {
      case 'Letter of Intent':
        $form->files['abc'] = array(
          'path' => '/home/xyz/public_html/cat/say_form.pdf'
        );
        break;
      case 'Purchase Order':
        $form->files['abc'] = array(
          'path' => '/home/xyz/public_html/cat/say_form.pdf'
        );
        break;	                          
    }

	


Thanks

Ron
Max_admin 26 Jan, 2014
Hi Ron,

The field is still there in the "Email" action settings, which CF version do you have ?

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.