Fabrik Home

Go Back   Fabrik > Fabrik 2.0.x > Community Support


Notices

Community Support This forum is for Subscribers on the Free plan. Members of staff will respond on a best effort basis, which will depend on the current Subscriber Support load. We also encourage community self-help in this forum, so if you can help someone, please do so! Good karma up for grabs.

Reply
 
Thread Tools
Old 06-03-2010, 07:03 PM   #1
keerthisagar.y
Junior Member
 
Join Date: Apr 2010
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
keerthisagar.y has not earned any Fabrik kudos yet
Default Email Attachments not working

Hi,
I am using fabrik_2.0rc5 in Joomla 1.5.15. I created some forms using Fabrik. If, the user submit the form it is storing in the database. This is working fine. Now, after submission, the admin need to be notified with the submitted form data.

To do this, I am adding using Submission plug-in option available in Forms. I selected email plug-in and configured the necessary fields like, Email to, From, Subject Line etc. I selected one article in "Article Template" drop-down to use as the body of the mail. Now, I want the form data entered by the user to be sent to the admin. So, I specified the Attachment Type property as "txt" (without quotes) (I also tried with ".txt"). The admin user is getting the email with the article content as the email body, but the attachment is not correct. It was giving some system generated name,like ATT44124.txt4bfdec440b71e, to the attached file, that too without extension. When I tried to open the file using notepad the content is not the form data. It is just one line "tmp\.txt4bfdec440b71e".

Am I doing correctly?? or do I need to do any other modifications to achieve my requirement??

Regards,
Y. Keerthi Sagar.

keerthisagar.y is offline   Reply With Quote


Old 07-30-2010, 04:58 PM   #2
rinehartas
Junior Member
 
Join Date: Jun 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
rinehartas has not earned any Fabrik kudos yet
Default Email Attachments not working

I was wondering the same thing. Is there something were doing wrong here?
rinehartas is offline   Reply With Quote
Old 08-02-2010, 12:58 PM   #3
rob
Administrator
 
rob's Avatar
 
Join Date: Jan 2007
Location: La Rochelle France
Posts: 9,628
Thanks: 131
Thanked 437 Times in 413 Posts
rob is a Fabrik God rob is a Fabrik God rob is a Fabrik God rob is a Fabrik God rob is a Fabrik God rob is a Fabrik God rob is a Fabrik God rob is a Fabrik God rob is a Fabrik God rob is a Fabrik God rob is a Fabrik God
Default

Hi

Sorry that looks like a bug. It should be fixed in the SVN now (basically the extension was being added to the beginning of the file name and not the end)

I've fixed this in the svn

I've also moved the code over to use the Joomla API rather than PHP's write file methods (without using the Joomla API we can't take advantage of the FTP layer when writing files)

Now you should enter 'csv', 'txt', 'html' etc as the attachement type and the file should be correctly attached

Cheers
Rob
rob is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Security of attachments paolo.tateo Silver Subscriber Support 7 08-17-2009 09:51 AM
Duplicate attachments, blank email ebloss Community Support 2 07-21-2009 05:41 PM
No Attachments in Email pa0039 Community Support 4 03-06-2009 01:08 PM
attachments not emailing with Mar 5 nightly sollos Bronze Subscriber Support 0 03-06-2009 12:58 PM
Attachments Not working maclarkson Fabrik 2.0 Beta Testing 3 07-09-2008 01:47 PM

» News
Fabrik 2.0.1 released
Please read this blog... [Read More]
Fabrik 2.0 stable released
Please read this ... [Read More]
» Unfuddle SVN
Project: Fabrik 2.x
Rev Comment
4047 fixed <= / >= url filters were incorrectly quoting numeric values
4046 changed: table group by dropdown in admin now allows you to select the raw version of the element
4045 added: table option to deleted joined data when deleting records fixed: several xhtml strict/css validation issues
4044 fixed: using user element in non default connection, any prefilter set up to use said element would generate an SQL error
4043 changed: db join element's concat statement now run through parsemessageforplaceholder()
4042 fixed: email form plugin. Generated error if sending from admin whilst using an article template
4041 fr-FR admin language file: element plugin - fabrikgooglemap
4040 added: digg & rating elements now work with js turned off fixed: some xhtml strict validation errors
4039 fixed: incorrect quoting of dbjoin table filter autocomplete hidden fields
4038 changed: plugin controller - pluginAjax() - now allows for noajax=1 where by $app does redirect (allows for use of ajax...
Powered by vBadvanced CMPS v3.0.0

All times are GMT. The time now is 02:12 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios