Extran <html> </html> tags when using Actionmailer

Hi I am using the action mailer as explained in the pragmatic book.

When I send a text email to yahoo the html part comes as an attachment but in the yahoo mail body I see the following :

<html> </html> and then the attachment