I need to insert a graphics file in a certain spot within a message generated by an application and passed to sendmail. I have been trying the following:
1. uuencoding the graphics file at the Unix prompt:
>uuencode graph.tif graph.tif > graph.tif.en
2. generating a file that consists of following sendmail commands:
sendmail user@domain <<?
subject: Test graphic attachment
to: user@domain
from: user@domain
content-type:text/html
<HTML>
<BODY>
<IMG SRC="graph.tif.en">
</BODY>
</HTML>
test html/graphic message
?
3. executing above file from the Unix prompt
I do receive the message in Outlook however the graphics file is NOT included/attached (appears as an x-ed icon)
Anyone can tell what do I need to do? Thanks
1. uuencoding the graphics file at the Unix prompt:
>uuencode graph.tif graph.tif > graph.tif.en
2. generating a file that consists of following sendmail commands:
sendmail user@domain <<?
subject: Test graphic attachment
to: user@domain
from: user@domain
content-type:text/html
<HTML>
<BODY>
<IMG SRC="graph.tif.en">
</BODY>
</HTML>
test html/graphic message
?
3. executing above file from the Unix prompt
I do receive the message in Outlook however the graphics file is NOT included/attached (appears as an x-ed icon)
Anyone can tell what do I need to do? Thanks