This problem has me stumped. When sending plain text emails they are including newlines before and after each Ruby segment
My erb is: ------- Dear <%= @user %>, To activate your account for <%= @app_name %>, please click on this link: <%= @url %> Thank you, The <%= @app_name %> team. ---------------- But the resulting email is: ----------- Dear Test User, To activate your account for Waterwatch , please click on this link: http://localhost:3000/users/32-test-user/activate?key=158e23261f7be2d8265331ad346d784df7a9f005 Thank you, The Waterwatch team. --------- My understanding is that ERB inserts these newlines by default and they can be disabled by including a trim_mode attribute in the call the erb, but how do you do this in ActionMailer? Thanks, Dean -- You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en.
