<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2719.2200" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=745182714-30072003><FONT color=#0000ff
size=2>Andy,</FONT></SPAN></DIV>
<DIV><SPAN class=745182714-30072003><FONT color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=745182714-30072003><FONT color=#0000ff size=2>Another option is
to use XML.</FONT></SPAN></DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-us><B><FONT color=#0000ff>Charles Wortz</FONT></B></SPAN>
<BR><SPAN lang=en-us><FONT color=#0000ff>Software Development
Division</FONT></SPAN> <BR><SPAN lang=en-us><FONT color=#0000ff>Texas Education
Agency</FONT></SPAN> <BR><SPAN lang=en-us><FONT color=#0000ff>1701 N. Congress
Ave</FONT></SPAN> <BR><SPAN lang=en-us><FONT color=#0000ff>Austin, TX
78701-1494</FONT></SPAN> <BR><SPAN lang=en-us><FONT
color=#0000ff>512-463-9493</FONT></SPAN> <BR><SPAN lang=en-us><FONT
color=#0000ff>CWortz@tea.state.tx.us</FONT></SPAN> </P>
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Arthur Fuller
[mailto:artful@rogers.com] <BR><B>Sent:</B> Wednesday 2003 Jul 30
09:21<BR><B>To:</B> 'Access Developers discussion and problem
solving'<BR><B>Subject:</B> RE: [AccessD] HTML Email from
Access<BR><BR></FONT></DIV>
<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></BLOCKQUOTE></BODY></HTML>