On Mar 16, 11:45 am, Ralph Herve <[email protected]>
wrote:
> Hi!!!
> i'm trying to send file via mails but i can get it work
> this is my form
>
The form encoding needs to be set to multipart (see the form helpers
guide on guides.rubyonrails.org)

Fred
> <form action="<%= url_for :action =>'send_firstorder', :controller
> =>'pages' %>" method="post" >
>
> <b>&nbsp;add your file:</b></td><td style="border:none;"><input
> size="30" name="forder[file]" type="file"><br>
>
> <input type=image value="send" style="border:1px solid #b7b7b7;"><br>
>
> </form>
>
> when i'm receiving the mail i can see only the path of file for exple
> C:\image.gif
>
> but i want to send the file itself
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to