Issues with sending HTML email


#1

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


#2

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