Hi all,
I am creating a little tool on a system I currently use which will let me email my customers with their invoice information confirming their purchase. The code below is the section which builds the email with its various elements. Everything works fine apart from the body of the email. I am trying trying to send an email with a body that is from a template i have saved. This template has text and graphics in it but am unaware of a way to successfuly open an email with the body showing the contents of my word document template.
Can this be done??
I am creating a little tool on a system I currently use which will let me email my customers with their invoice information confirming their purchase. The code below is the section which builds the email with its various elements. Everything works fine apart from the body of the email. I am trying trying to send an email with a body that is from a template i have saved. This template has text and graphics in it but am unaware of a way to successfuly open an email with the body showing the contents of my word document template.
Can this be done??
Code:
With oEmail
.Subject = EmailSubject
.Body = email_string
.To = EmailAddress
.cc = "Chris.Chaddock@btinternet.com;"
.Importance = olImportanceHigh
.Display
.send
End With
Code:
oWord_Document.Documents.Open Me.CommonDialog_Email_Body.FileName, False, True
email_string = oWord_Document.Documents(1).Content
EmailBody = email_string