[Mimedefang] Attach Image file?
Michael Wilkinson
mwilkins at spillman.com
Fri Nov 22 20:29:01 EST 2002
Hello,
Is it possible to add a graphic to boiler plate text? I'm using the following
code, however, the image only shows up as an attachment and I'd like it to
appear inline. Can anyone offer any suggestions?
Thanks,
-Michael Wilkinson
----
append_text_boilerplate($entity, "--\n$fullname\n$title\nSpillman Technologies, Inc.\n$userid\@spillman.com\nwww.spillman.com", 0);
append_html_boilerplate($entity, "<blockquote>\n<strong><font face=\"Garamond\" size=\"3\" color=\"#153C67\">$fullname</font></strong><br>\n<font face=\"Garamond\" color=\"#000000\" size=\"2\">\n$title<br>\n<img src=\"maillogo.bmp\" alt=\"Spillman Technologies, Inc.\"><br>\n$userid\@spillman.com<br>\n<a href=\"http://www.spillman.com\">www.spillman.com</a><br>\n</font></blockquote>", 0);
$maillogo = `cat /etc/mail/maillogo.bmp`;
action_add_part($entity, "image/x-bmp", "base64", "$maillogo", "maillogo.bmp", "inline");
More information about the MIMEDefang
mailing list