[Radiant] Mailer Extension and Uploading File Attachments

2015-03-10 Thread Dom S
Hi, 

I'm hoping there are still some knowledgeable members here who might be 
able to help me with an issue I'm having with the Mailer extension and zero 
sized file attachments who could offer me some assistance. I can receive 
the form results, including the file attachment name but the attachment has 
no content and is always 0kb. 

I have a fresh install of Radiant 1.1.4 and Mailer extension 1.0.6. 

In the page body part / r:mailer:form I have: 

Select a file: r:mailer:file name=uploaded-file /

In the email part I have:

r:mailer:get name=uploaded-file /

In the logs I can see: 

Processing MailController#create (for xx.xx.xx.xx at 2015-03-10 16:06:14) 
[POST]

  Parameters: {mailer={spam-captcha=, 
uploaded-file=#File:/tmp/RackMultipart20150310-23111-1n8q8rw}, 
controller=mail, action=create, page_id=9}

Sent mail to d...@co.uk

I can see the file at /tmp/ and it has the correct size but am wondering if 
it is in the correct location as it is not local to the radiant install. 

In the email raw source I see: 

--mimepart_54ff1b63b1ed6_5a474ebf6c8612

Content-Type: text/plain; charset=utf-8 
Content-Transfer-Encoding: Quoted-printable 
Content-Disposition: inline 
File 1: xxx.xxx 

--mimepart_54ff1b63b1ed6_5a474ebf6c8612 

Content-Type: application/octet-stream; name=xxx.xxx 
Content-Transfer-Encoding: Base64 
Content-Disposition: attachment; filename=xxx.xxx 

--mimepart_54ff1b63b1ed6_5a474ebf6c8612--


I receive the email fine, I can see the filename but I can't get the 
attachment. 


Is there something obvious that I am missing or that needs setting in the 
configuration? If you can offer any pointers, help or assistance with this 
issue please could you reply. 


Many thanks, 



-- 

--- 
You received this message because you are subscribed to the Google Groups 
Radiant CMS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to radiantcms+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Radiant] Radiant Mailer Extension and Uploading File Attachments

2015-03-10 Thread Dom S
Hi all, 

I'm hoping there are still some knowledgeable members here that might be 
able to offer some help with a problem I have with the Mailer extension and 
uploading file attachments that I need assistance with. I seem to be 
receiving an email but with a zero size attachment. I'm trying to get the 
form to upload a document and email it to the form results email address.

I have a fresh install of Radiant 1.1.4 and Mailer extension 1.0.6. Nothing 
I seem to do results in the attachment being attached properly to email 
results, although I do get the email, other form results and the attached 
file name. 

In the email page part I have: 

File: r:mailer:get name=uploaded-file /

In the received email I just get the filename: 

File 1: Test.txt

In the email raw source:

--mimepart_54ff0e9e688fb_45174fd0d14321
Content-Type: application/octet-stream; name=Test.txt 
Content-Transfer-Encoding: Base64 
Content-Disposition: attachment; filename=Test.txt 
--mimepart_54ff0e9e688fb_45174fd0d14321--



No matter what file I upload it appears attached as a zero.kb file. 


From the log I see: 

Parameters: {mailer={spam-captcha=, first-name=D, required={
first-name=true}, 
file=#File:/tmp/RackMultipart20150310-11098-9qjeb5}, 
controller=mail, action=create, page_id=9}

Sent mail to d...


The file gets appears at /tmp/ but I am wondering if this address is wrong 
as it is not local to the radiant install. 


Is there some configuration that I am missing? If there is anything that 
you think might be worth checking or looking into please could you advise? 


Many thanks

-- 

--- 
You received this message because you are subscribed to the Google Groups 
Radiant CMS group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to radiantcms+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.