when sending an e-mail from access
there is a bit in the list constants and methods which allows for a 'Template File' does anyone know what this is, and how i create one
You would use an HTML Template file if you were sending your email in the acFormatHTML output format. The HTML Template File is used as a way of pre-formatting your document with such things as a background color or company logo. The Template File is saved on your computer or on a network shared folder with the .html extension. In the docmd.sendobject you would reference the HTML Template with the actual name of the file in quotes. Below is an example of a template file. Of course you need to modify it for your purposes.
<HTML>
<!--The following token places the object name in the title bar of the Web browser.-->
<TITLE><!--AccessTemplate_Title--></TITLE>
<!--The following HTML tag creates a different background color than the Web browser default.-->
<BODY BACKGROUND = "gray.jpg">
<!--The following token places all object output inside the <BODY> tag.-->
<!--AccessTemplate_Body-->
</BODY>
<BR><BR>
<!--The following four tokens create four navigation text buttons that jump to the first, previous, next, and last pages of a report.-->
Ok thanks for the tip, but unfortunately you have now answered my question with "not possible". my company wont allow me to create a web page.
so heres some more information on what i need and hopefully someone will have the answer.
i have a front end and backend database, the front end is input only and allows users to raise queries which are passed to a small department, to action, however on some occassions the queries arent necessary or require further information. what i need to do is allow the small deprtment staff reject the request directly back to the originator for further clarification.
I have been trying to use outlook to trigger an email, but im tied up in knots. I also need some advice on how i can populate the fields of the outlook form with the data from the initial request.
Hey scottian, I just finished dealing with a similar problem last week. I have email going both to the person/department being notified, and an email coming back with their acknowledgement. Really simply, I just used the form fields to populate the emails and it is really working smoothly. (However, this will only work if your user's are using Outlook) Here's what I did for the acknowledgement with some proprietary stuff removed, hope you get some ideas for your own project...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.