Add subject line and text to body of mail

W

Wayne-I-M

Hi

I have this code thanks to Don, Andrew and Ronx and it works really well. I
would like to add to it so that a text string is put in the Subject line and
another text string in the body section of the e mail is this possible?

Something like the access vba
DoCmd.SendObject acReport, "", "", , , "", "SUBJECT LINE HERE", "BODY OF
MAIL HERE", False, ""


So the subject line could have ABC
and in the body of the e mail I could have
please do not remove the ABC from the subject line.

Thank you


<p
align="center"><font face="Arial" size="2"> <script language=javascript>
<!--
var AandB = "wayne";
var CandD = "domainname";
var EandF = ".";
var GandH = "com";
var IandJ = ".";
var KandL = "uk";
var linktext1 = "Se";
var linktext2 = "nd";
var linktext3 = " e ";
var linktext4 = "M";
var linktext5 = "a";
var linktext6 = "i";
var linktext7 = "l";
document.write("<a href=" + "mai" + "lto:" + AandB + "@" + CandD + EandF +
GandH + IandJ + KandL +
">"
+ linktext1 + linktext2 + linktext3 + linktext4 + linktext5 + linktext6 +
linktext7 + "</a>")
//-->
</script></font>
<p>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top