hi..
Could somebody help me how to sent an attachment using sendmail command and the content is HTML format ?.
Below is my code to sent the email as HTML but i do not know how to sent the attachment, please help me
To: "BAHARIN HASAN"<baharin.hasan@gmail.com>
from: "DATAONE SDN BHD"<admin@dataone.asia>
Subject: test
Content-Type: text/html
charset="us-ascii"
<html>
<head>
<title>Your Page Title</title>
</head>
<body>
<center>
<table border=0>
<tr>
<th><img border=0 src=/images/pulpit.jpg alt=Pulpit rock width=67 height=92 /></th>
<th><p>�</p><h2>Bill Statement</h2></th>
</tr>
<tr>
<td><h4>Dear <ASMAH_AHMAD>,</h4>
<p>Thank you for your valued subscription to our<br/>
services.Your TM bill statement is now attached as <br/>
an Adobe PDF file in this email.</p>
<p>Thank You</p></td>
<td><p>Account No.</p><p><12345></p>Statement Date.<p><12/12/2010></p></td>
</tr>
</table>
<center><img src=example.jpg alt=example/></center>
</center>
</body>
</html>
Thank you,
baharin