• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: mail attachment - confirmationmail

mail attachment - confirmationmail 17 years 11 months ago #795

Is it possible to ad an attachment;
for example a pdf file to the confirmationmail? and how can i do this?
The administrator has disabled public write access.

Re:mail attachment - confirmationmail 17 years 11 months ago #800

  • alex
  • alex's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 443
  • Thank you received: 3
Hi,

in RSform! 1.0.4 it is possible to add what the user uploaded as an attachment to the e-mail sent by following these instructions:

please edit the file: /components/com_forme/forme.php, and change this line
mosMail($form->emailfrom,$form->emailfromname,$to,$form->emailsubject,$form->email,$form->emailmode);

to
mosMail($form->emailfrom,$form->emailfromname,$to,$form->emailsubject,$form->email,$form->emailmode,null,null,$array_files);

Then, find
$params_field .= $field->name . '=' . $target_file .\"||\n\";

and replace it with:
if(!isset($array_files)) $array_files = array();
$array_files[] = $mosConfig_absolute_path.'/components/com_forme/uploads/'.$target_file;
$params_field .= $field->name . '=' . $target_file .\"||\n\"; 
<br><br>Post edited by: alex, at: 2008/01/17 05:54
The administrator has disabled public write access.

Re:mail attachment - confirmationmail 16 years 3 weeks ago #7161

  • damo
  • damo's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
is this also possible for RS Form 1.2.0?
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!