Durr. Im an idiot. In the readme it says: Todo: .. * Support for file attachments to emails ..
Colin On Mar 27, 2007, at 5:35 PM, Colin Nederkoorn wrote: > 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:<br /> > <r:mailer:text name="name" /><br /> > E-mail:<br /> > <r:mailer:text name="email" /><br /> > Resume:<br /> > <r:mailer:file name="resume" /><br /> > Message:<br /> > <r:mailer:textarea name="body" /><br /> > <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" /> > > --- > > _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
