Subject: | documentation bug for html emails |
In the example for HTML document with images included, this:
$msg->attach(Type => 'image/gif',
Id => 'myimage.gif',
Path => '/path/to/somefile.gif',
);
should be this:
$msg->attach(Type => 'image/gif',
Id => '<myimage.gif>',
Path => '/path/to/somefile.gif',
);
The former doesn't work in most mail browsers I tried, and the rfc requires the latter.
Perhaps the code should even add the angle braces if they're not present.
alex