in reply to Picture this

I've just read the article that you describe and it encourages some very bad practices.

HTML mail should only ever be sent as one part of a multipart MIME message. Another part should have the same message in text/plain. Not everyone will have a mail client which handles HTML emails and a correctly formatted MIME message gives them the chance to read your mail too.

By all means, send HTML mail if you have to, but use the MIME-Tools bundle of modules from CPAN to format it.

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

"Perl makes the fun jobs fun
and the boring jobs bearable" - me

Replies are listed 'Best First'.
RE: RE: Picture this
by Jonathan (Curate) on Nov 09, 2000 at 18:46 UTC
    Thanks for the advice davorg These mails are on a sub-section of our intranet where everyone has the same mail client installed. I would like to use Mail::Sender but getting admin to install modules can take ages :-(
    Trimbach kindly suggested putting the full URL of the image in the tag. This doesn't work for me as the server requires http authorisation. Pity.

    I could lie down like a tired child,
    And weep away the life of care
    Which I have borne, and yet must bear.
    Shelley 1792-1822
      I strongly advise against this, but it is possible to include the username and password for authentication in the url. Just write the url like an ftp url:
      http://username:password@intranet.company.com/report.html