• 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: Exclude file attachment from notification email

Exclude file attachment from notification email 16 years 11 months ago #2917

I am allowing people to upload large video files through RS forms. I don't want those files to be included in the notification email that gets sent out. I did not include it as one of the fields in the body of the email, but it still shows up in the email. How can I get it to exclude the file?
The administrator has disabled public write access.

Re:Exclude file attachment from notification email 16 years 11 months ago #3205

  • Bauart
  • Bauart's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
I am having the same problem. Has there been a response to this question?

Some files I need to accept using RSForms are about 50MB. So the whole RSForm system breaks down when an email with such a large attachment can not be sent.

Also, I have had several problems with large uploads timing out before completed. I don't yet know if the time out is my browser, the server, Joomla, or the RSForms component? It might even be timing out because RSForms can not send the large email attachment? Any Ideas or suggestions?

Thanks!!
The administrator has disabled public write access.

Re:Exclude file attachment from notification email 16 years 11 months ago #3209

The only suport response I've received was not helpful. I've been waiting for a couple weeks for them to acknowledge the problem. I just emailed them again, hoping they'll at least acknowledge the problem.
The administrator has disabled public write access.

Re:Exclude file attachment from notification email 16 years 11 months ago #3210

  • Bauart
  • Bauart's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
I haven't yet attempted to dig into the code, but that is next. Perhaps there is a way to just delete the email attachment code so that attachments are never sent? If you receive a response please let me know. I will update this with any info I discover.
The administrator has disabled public write access.

Re:Exclude file attachment from notification email 16 years 11 months ago #3212

I have attempted. I wasn't able to find any place in the code that clearly referred to sending the attached file. However, I'm not a php developer, so it might be worth looking into if you are. I will post any response I get that works toward solving the problem.
The administrator has disabled public write access.

Re:Exclude file attachment from notification email 16 years 11 months ago #3224

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

if you don't want files to be attached to e-mails, please edit /components/com_forme/forme.php and replace the line (in Joomla 1.0.15)

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

with

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

for Joomla 1.5.x replace the line:

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

with

JUtility::sendMail($form->emailfrom,$form->emailfromname,$to,$form->emailsubject,$form->email,$form->emailmode,null,null);

Alex.
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!