<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2726.2500" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=669551514-30072003><FONT face=Arial color=#0000ff size=2>I can
answer one part of your question (not the email HTML part). A very simple way to
mix static text and variables is to create the text with markers, such as the
following:</FONT></SPAN></DIV>
<DIV><SPAN class=669551514-30072003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=669551514-30072003><FONT face=Arial color=#0000ff size=2>Dear
<A href="file://\\FirstName\\">\\FirstName\\</A>,</FONT></SPAN></DIV>
<DIV><SPAN class=669551514-30072003><FONT face=Arial color=#0000ff size=2>Thank
you for purchasing a <A href="file://\\ProductName\\">\\ProductName\\</A>. We
appreciate your <A
href="file://\\ProductPrice\\">\\ProductPrice\\</A>.</FONT></SPAN></DIV>
<DIV><SPAN class=669551514-30072003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=669551514-30072003><FONT face=Arial color=#0000ff size=2>Assign
the text to a variable, then execute a series of Replace() function calls, one
for each marker. </FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=669551514-30072003><FONT face=Arial color=#0000ff size=2>As to
the other part, how to write the message itself as HTML, I'm eager for the
answer too. What really baffles me is how to include pictures etc. instead of
references to files on a particular hard disk, which may not be accessible from
the outside world.</FONT></SPAN></DIV>
<DIV><SPAN class=669551514-30072003></SPAN> </DIV>
<DIV><SPAN class=669551514-30072003><FONT face=Arial color=#0000ff
size=2>Arthur</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
accessd-bounces@databaseadvisors.com
[mailto:accessd-bounces@databaseadvisors.com] <B>On Behalf Of </B>Andy
Lacey<BR><B>Sent:</B> July 30, 2003 7:25 AM<BR><B>To:</B> Stuart McLachlan;
"accessd@databaseadvisors.com"@smithers.nildram.co.uk<BR><B>Subject:</B> Re:
[AccessD] HTML Email from Access<BR><BR></FONT></DIV>Hi Stuart<BR>Thanks for
the reply.<BR>I'm about to visit a potential new client who is looking to
replace an off-the-shelf contact management system withan Access app. Good
news for me I hope. Anyway one of the requirements is to be able to prepare
HTML emails (text and pics and anything else I guess) with, in effect, field
placemarks (e.g. [CustomerName] or whatever). It then has to do an
"emailmerge" between the HTML and the data and send to all on his list. Does
that make sense? What do you think?<BR><BR>I've kept this on-list for now as
it better explains (I hope) what I'm trying to do and there may be others out
there who can help or want to see where the discussion
leads.<BR><BR>--<BR>Andy
Lacey<BR>http://www.minstersystems.co.uk<BR><BR><BR><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">--------- Original Message --------<BR>From:
"Stuart McLachlan" <stuart@lexacorp.com.pg><BR>To: "Andy Lacey"
<andy@minstersystems.co.uk>, "accessd@databaseadvisors.com"
<accessd@databaseadvisors.com><BR>Subject: Re: [AccessD] HTML Email
from Access<BR>Date: 30/07/03 11:03<BR><BR><FONT face="Courier New"
size=2><BR>On 30 Jul 2003 at 11:37, Andy Lacey wrote:<BR><BR>><BR>>
Morning all<BR>> Any one have any experience of sending out HTML
email-shots from<BR>> within Access. I already use automation to drive
Outlook but have<BR>> only ever sent text emails. How would I (or more
likely the user)<BR>> format HTML emails? In Word or what? And how would
I merge data fom<BR>> the Access database with it ("Hi Bill" etc) and
send them via<BR>> Outlook? Any ideas? Anyone doing it already? Any
guidance would be<BR>> gratefully received.<BR>><BR><BR>I do it in a
number of different ways.<BR><BR>I have a small PB application which
interrogates a Contact list and<BR>sends out to everyone with a certain
"category" in the the contacts<BR>list. It is designed to compose the html
mail in Outlook which is<BR>then saved to a HTML file.<BR><BR>I've also done
it by creating a report and using Docmd.SendObject to<BR>each one in turn
with a single page report output as HTML.<BR><BR>Email me off-list with more
info on exactly what you are trying to do<BR>and I'll fire something through
to you.<BR><BR>(I do it under protest for a client , but I personally have
an<BR>aversion to html emails <g>)<BR><BR><BR>--<BR>Lexacorp Ltd<BR><A
class=autolink href="http://www.lexacorp.com.pg/"
target=_blank>http://www.lexacorp.com.pg</A><BR>Information Technology
Consultancy, Software
Development,System<BR>Support.<BR><BR><BR><BR>_______________________________________________<BR>AccessD
mailing list<BR><A class=autolink
href="mailto:AccessD@databaseadvisors.com">AccessD@databaseadvisors.com</A><BR><A
class=autolink href="http://databaseadvisors.com/mailman/listinfo/accessd"
target=_blank>http://databaseadvisors.com/mailman/listinfo/accessd</A><BR>Website:
<A class=autolink href="http://www.databaseadvisors.com/"
target=_blank>http://www.databaseadvisors.com</A><BR><BR><BR><BR><BR><BR></FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>