Is it possible to send an automated email with dynamic content in Rails

Posted by Danny McClelland on Stack Overflow See other posts from Stack Overflow or by Danny McClelland
Published on 2010-04-28T14:21:23Z Indexed on 2010/04/28 14:23 UTC
Read the original article Hit count: 260

Hi Everyone,

I am looking into the best way of doing the following:

I have a model called Kase, and when a user creates a new case then are taken to the show view as you would expect.

I am trying to work out what the best way of sending an automated email between those two events is. I would need to include in the email the content of a couple of the fields, ideally I am looking for a way of just typing out the email and adding the same snippets that are in the show view for each of the fields I need.

I am using the Base App from Github so the email sending is already setup for the user authentication and registration, but I'm not sure where to begin.

The reason I want to send the email is to create a new Case in our Highrise account, and I don't have a clue how to use the API. So I think the email sending is the easier way.

Thanks,

Danny

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about email-integration