在joomla的php文件中添加<hr>

I have this:

if ($copy_email_activated == true && !empty($data['contact_email_copy']))
            {
                $copytext    = JText::sprintf('COM_CONTACT_COPYTEXT_OF', $contact->name, $sitename);
                $copytext    .= "

" . $body;
                $copysubject = JText::sprintf('COM_CONTACT_COPYSUBJECT_OF', $subject);

                $mail = JFactory::getMailer();
                $mail->addRecipient($email);
                $mail->addReplyTo($email, $name);
                $mail->setSender(array($mailfrom, $fromname));
                $mail->setSubject($copysubject);
                $mail->setBody($copytext);
                $sent = $mail->Send();
            }

And I need add in the body, one tag <hr>, but not working . <hr> or echo <hr>. Any solutions?

I need to tell the mailer it is HTML. This is done with isHTML. $mail->IsHTML(true);

Then .'


' and it works properly.