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.

Reply via email to