Issues with sending HTML email

Hello,
I am using the SaltedLoginGenerator. Everything is working fine except
the e-mail is being sent out as text instead of text/html. I have tried
changing the Content-Type to text/html but to no avail.

I even tried changing the Content-Type in tmail/facade.rb but it
didn’t help.

What am I missing? How can I get ROR to send a HTML email.

Thanks
Frank

I figured it out.

The line I was missing was:
@content_type=“text/html”

Hope it helps someone.

Thanks
Frank

softwareengineer 99 [email protected] wrote: Hello,
I am using the SaltedLoginGenerator. Everything is working fine except
the e-mail is being sent out as text instead of text/html. I have tried
changing the Content-Type to text/html but to no avail.

I even tried changing the Content-Type in tmail/facade.rb but it
didn’t help.

What am I missing? How can I get ROR to send a HTML email.

Thanks
Frank


Yahoo! Mail - Helps protect you from nasty
viruses._______________________________________________
Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

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