Forum: Ruby on Rails Issues with sending HTML email

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
softwareengineer 99 (Guest)
on 2006-02-04 05:16
(Received via mailing list)
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
softwareengineer 99 (Guest)
on 2006-02-04 05:58
(Received via mailing list)
I figured it out.

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

  Hope it helps someone.

  Thanks
  Frank

softwareengineer 99 <removed_email_address@domain.invalid> 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
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails
This topic is locked and can not be replied to.