Send attachment in email to users after submit

beadsboy 18 Jul, 2007
Hi,

I have a form wherein after submit, the users receive an email with an attached file.

I need info on how to do it.

Thankyou,

Devang<br><br>Post edited by: beadsboy, at: 2007/07/18 10:59
GreyHead 18 Jul, 2007
Hi Devang,

At the moment ChronoForms only supports the attachment of uploaded files.

I think you might be able to get round this by putting code into the OnSubmit before field. You'd need to define the $attachements [note spelling] variable with the attachment file path+name (an absolute path, not the url).

Bob
Max_admin 18 Jul, 2007
Hi Devang,

in the on submit before email add this :

$attachements[] = "your file absolute path here";


Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
beadsboy 19 Jul, 2007
yes it works .. thankyou max:P
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger