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 [email protected].
For more options, visit https://groups.google.com/d/optout.