Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mail is badly formatted #8

Open
mtravers opened this issue Sep 1, 2011 · 0 comments
Open

Mail is badly formatted #8

mtravers opened this issue Sep 1, 2011 · 0 comments

Comments

@mtravers
Copy link
Collaborator

mtravers commented Sep 1, 2011

Specifically, offers, but maybe others.

The problem is that the mail is marked as being in HTML format, but is actually in (mostly) plain text, so paragraph breaks are lost.

For example:

[Graphic desing for Massage?] matches a skill category you have http://timebank.sfbace.org/reqs/530 Description: Hi, I'm starting up a business making organic aromatherapy products and I need someone to design the labels. I am a certified massage therapist and am happy to swap massage for design work, unless you would rather accumulate timebank hours. It is fairly urgent as I need the labels printed in time to photograph the bottles and meet some fair application deadlines at the end of September. If interested, please email me at [email protected] Thanks. Requested by: Erica Straus

The solution is either to mark the mail as plain text or format it as html.

I think the former can be accomplished by changing the template from offer_notification.erb to offer_notification.text.erb, but haven't had the change to test it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant