Question

I made a contact form for my web app using Pony. I have yet to figure out how to format the email with certain fields from the form. I would like the email formatted in the way below,

First Name: "user inputted first name" Last Name: "user inputted last name"

Does anyone have any experience with Pony that has achieved this yet? I can post code snippets if needed.

Was it helpful?

Solution

So im new to Rails, I sometimes forget im using Ruby. Anyways I just called the value associated with each param key. So (First Name: #{fname}\nLast Name: #{lname}).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top