Hi All,
Im trying to do a form where users can submit their resume (attach a
file) to the form submission.
When I use the form, it works, but the attachment does not get sent
and I get what looks to be a memory address or something like that?.
Is this a bug in the mailer extension? The resulting email I received
as well as my mailer page code is below:
From: [email protected]
Subject: website - Job Application
Date: March 27, 2007 5:21:07 PM EDT
To: [email protected]
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary=mimepart_46098ac36f4f_c271ae12ca2b
Message-Id: [email protected]
Name: colin
E-mail: [email protected]
Subject:
Message: test
Attachment: #StringIO:0x35a532c
=========
#body page part
<r:mailer:form name=“contact”>
Name:
<r:mailer:text name=“name” />
E-mail:
<r:mailer:text name=“email” />
Resume:
<r:mailer:file name=“resume” />
Message:
<r:mailer:textarea name=“body” />
<r:mailer:submit value=“Send” />
</r:mailer:form>
#config page part
mailers:
contact:
subject: website - Job Application
from: [email protected]
redirect_to: /careers/thanks
recipients:
- [email protected]
#email page part
Name: <r:mailer:get name=“name”/>
E-mail: <r:mailer:get name=“email”/>
Subject: <r:mailer:get name=“subject”/>
Message: <r:mailer:get name=“body”/>
Attachment: <r:mailer:get name=“resume” />