Sorry, I did see that other post but I am affraid that I dont know what to do with it. (everone be nice , now)
Do I add that code directly into the macro script? Also this states that I can create an HTML message from a web page. What if I don't have a web page and just want to add the HTML code from the script directly? Or do I have to generate 100 plus HTML pages, one for each message I want to send?
Currently I have a macro script that looks something like this. (see below) The tabs are my feeble attempt to format the page in an readable format, thus the need for HTML formatting. The script repeats for each email that needs to be sent. It works ok being generated from the access report (exported as a text file, .SCP) however, this is obviously without the HTML. How do I create something simmilar using the VB code keeping in mind that this script could contain hundreds of "Emails".
Alternatively, can I just use plain text messages? Are there more commands out there that I just dont know about that would allow me to format this message better instead of Tab,Tab,Tab? I only need this to be HTML to "Make it pretty".
Thanks again for all the help!
Code: Select all
Let>SENDMAIL_STATUS=1
Let>Subject=JRLC Sales Order Acknowlegment for Order ID 105268
Let>[email protected]
Let>Name=JRLC Customer Service
Let>[email protected]
Let>Body=The John Company
Let>Body= %Body%%CRLF% Specialized Materials
Let>Body=%Body%%CRLF% address line here
Let>Body=%Body%%CRLF%
Let>Body=%Body%%CRLF%%TAB%%TAB%%TAB%%TAB%SALES ORDER ACKNOWLEDGEMENT
Let>Body=%Body%%CRLF%
Let>Body=%Body%%CRLF% %TAB% %TAB% %TAB%%TAB%%TAB%%TAB%%TAB%%TAB%%TAB% Customer Order ID: 105268
Let>Body=%Body%%CRLF% %TAB% %TAB%%TAB%%TAB% %TAB%%TAB%%TAB%%TAB% %TAB% Customer ID: 3HOFOU
Let>Body=%Body%%CRLF%
Let>Body=%Body%%CRLF%Sold to %TAB%%TAB%%TAB% %TAB%%TAB% Ship To
Let>Body=%Body%%CRLF%FOUNDATION %TAB% %TAB%%TAB%%TAB% %TAB%%TAB%FOUNDATION
Let>Body=%Body%%CRLF%4 Shady Lane %TAB% %TAB%%TAB%%TAB% %TAB%%TAB%4 Shady Lane
Let>Body=%Body%%CRLF% %TAB% %TAB%%TAB%%TAB% %TAB%%TAB%
Let>Body=%Body%%CRLF%Attn: Nam %TAB% %TAB%%TAB%%TAB% %TAB%%TAB%Attn: Nam
Let>Body=%Body%%CRLF%Town, NM 875320000 ______________________________________________Town, NM 875320000
Let>Body=%Body%%CRLF% Lines 1 3HOFOU
Let>Body=%Body%%CRLF% DO NOT USE, USE PART #1A-O7B-025
,
SMTPSendMail>Recipients,192.168.1.55,JRLC,Name,Subject,Body,