Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TJclEmail

66 views
Skip to first unread message

Lee J Cook

unread,
May 25, 2004, 6:18:29 AM5/25/04
to
Hi,

I hope this is an appropriate area to post a query if not I apologise and
please direct me where to go,

In my application I am using the Following code to send e-mails with the
Jedi Mapi functions

MapiMail := TJclEmail.Create;
MapiMail.Clear;
MapiMail.Recipients.Add(cEmailAddress,cEmailName,rkTO,'');
MapiMail.Subject := Self.Caption;
MapiMail.HtmlBody := True;
MapiMail.Body := aBody.Text;
MapiMail.Send(True);
MapiMail.Free;

All is great if i just want to send a HTML e-mail as above my outlook
express opens and its ready to send. The problem i have is if i add an
attachment like so

MapiMai.Attachments.Add('C:\Test\Test.PDF);

It opens outlook express, the Body of the E-mail does not have the HTML
displayed in It and the file is attached called "Test.PDF" but there is also
a file called "JclMapi.Htm" which is what should be in the Body of the
E-mail.

Can any one help or point me to the right place to resolve this issue?

Thanks

Lee


Ricardo Cardona (Open)

unread,
May 25, 2004, 9:52:24 AM5/25/04
to
better at news://forums.talkto.net/jedi.jcl


"Lee J Cook" <lee....@kwikhols.co.uk> escribió en el mensaje
news:40b3...@newsgroups.borland.com...

0 new messages