Attach uploaded file to email

neveryonas@shaw.ca 10 Feb, 2018
Hi,

I am using Chronoforms 6. I am trying to attach a word doc to the email that goes out to the user upon registration. I have uploaded the file to my server, and followed the instructions on the support documentation that says you can provide the full path to the file.

It does not seem to work or I am missing something.
I have tried the full URL, just the path and {path:front}/forms/English_credit_ card_ charge_form.docx which returns the following:

The debugger says the mail could not be sent.
[files] => Array
(
[0] => /home3/mydomain/public_html/components/com_chronoforms6/chronoforms/forms/English_credit_ card_ charge_form.docx
)

[result] => the Mail could not be sent.
[var] =>
)


Any idea what I am doing wrong? Do I need to something additional?

Cheers
Max_admin 10 Feb, 2018
Hi neveryonas,

If the mail is not sent then there is no way to know if the file is attached or not except by checking the debug, what you need to do in v6 to attach a file on the server to the email is to add the file path in the "Attachments" box in the email settings:
full/server/path/to/file
Does the email work without the file ?

Best regards
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
neveryonas@shaw.ca 10 Feb, 2018
Thanks for you reply. Yes the email works fine without the file. The full server path is /home3/bonsaibc/public_html/components/com_chronoforms6/chronoforms/forms/English_credit_ card_ charge_form.docx

I'm not sure I understand when you say : "what you need to do in v6 to attach a file on the server to the email is not add the file path in the "Attachments" box in the email settings"

Where am I supposed to add it?
Max_admin 11 Feb, 2018
Hi neveryonas,

That was a typo and I have fixed it, sorry!

Just copy and paste the full file patch under Setup > Email > Attachments list

Let me know if you can not find it

Best regards
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.