walter garcia wrote: > Hi people... > > I try send email format html and attach jpg, this attach found ok, but > no see image in html..
Please have a look at the SMTP-HTML demo application (MailHtml.dpr). Your HTML code isn't correct you need something like "<IMG SRC="cid:IMAGE2" ..." instead of the origin file name. --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > for example: > > HTML CODE > > <table width="477" border="0" align="center" cellpadding="1" > cellspacing="0"> > <tr bgcolor="#FFFFFF"> > <td height="30" colspan="2"> > <div align="center"><font face="Verdana, Arial, Helvetica, > sans-serif"><font color="#FFFFFF" size="2"> > <img src="ad_mail.jpg" width="701" height="142"></font></font></div> > <div align="center"><font color="#FFFFFF" face="Verdana, Arial, > Helvetica, sans-serif"><font size="2"></font></font></div></td> > </tr> > </table> > > DELPHI CODE > > ON CLICK BUTTON SEND > {.. setting smtp..} > > FileAttachMemo := TStringList.Create; > FileAttachMemo.Clear; > > FileAttachMemo.Add('ad_mail.jpg'); > smtpcli.EmailFiles := FileAttachMemo; > > FileAttachMemo.free; > .... > > > This email send ok, but no see image en email, is only attach.. > > Help > > thz alot > > walter -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be