in reply to Re: Sending HTML-formatted email
in thread Sending HTML-formatted email

from => "Teacher <me\@mydomain.com>",

If you didn't use double quotes there, then you wouldn't need to escape the '@' character.

from => 'Teacher <me@mydomain.com>',

And that's one less potentially confusing piece of punctuation for your maintenance programmer[1] to deal with.

[1] Yes. That might be you :-)

--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg