Uploading and Mailing documents

What I want is a document uploader on the front end so my visitors can
upload their CV or a completed application form and then submit this
document. On submission, an email will be sent with the document
attached to a specified email address.

If any code is required, then don’t hesitate to ask. So, can someone
spare some time to help me out or point me in the direction of where to
begin?

Rails comes with ActionMailer, which supports emailing attachments.
http://guides.rubyonrails.org/action_mailer_basics.html

Sharagoz – wrote:

Rails comes with ActionMailer, which supports emailing attachments.
http://guides.rubyonrails.org/action_mailer_basics.html

Thank you, but first, I need my application to actually have the ability
to upload the document I want to attach and mail.

Pale H. wrote:

Sharagoz – wrote:

Rails comes with ActionMailer, which supports emailing attachments.
http://guides.rubyonrails.org/action_mailer_basics.html

Thank you, but first, I need my application to actually have the ability
to upload the document I want to attach and mail.

Most people use Paperclip for that.

Best,
–Â
Marnen Laibow-Koser
http://www.marnen.org
[email protected]

There are plenty of tutorials out there on how to do this, if you just
google for it. For instance:
http://www.tutorialspoint.com/ruby-on-rails/rails-file-uploading.htm

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs