This is beyond me or I may just be brain dead. But I have the following code that gets for me the email signature associated with the email account:
'get Email Sig
Set objOutlookApp = CreateObject("Outlook.Application")
With objOutlookApp.CreateItem(0)
With .GetInspector: End With
EmS = .HtmlBody
.display
End With
And this bit of code that creates an outlook instance and pastes the html data created elsewhere from an excel spreadsheet.
Set objOutlookApp = CreateObject("Outlook.Application")
Set objNewEmail = objOutlookApp.CreateItem(olMailItem)
'Read the HTML file data and insert into the email body
Set objTextStream = objFileSystem.OpenTextFile(strTempHTMLFile)
objTextStream = objTextStream
objNewEmail.HtmlBody = objTextStream.ReadAll
The issue I am having is I can only insert one HTML or the other. How can I add the Signature to the end of the email body?
Thanks for the help...
'get Email Sig
Set objOutlookApp = CreateObject("Outlook.Application")
With objOutlookApp.CreateItem(0)
With .GetInspector: End With
EmS = .HtmlBody
.display
End With
And this bit of code that creates an outlook instance and pastes the html data created elsewhere from an excel spreadsheet.
Set objOutlookApp = CreateObject("Outlook.Application")
Set objNewEmail = objOutlookApp.CreateItem(olMailItem)
'Read the HTML file data and insert into the email body
Set objTextStream = objFileSystem.OpenTextFile(strTempHTMLFile)
objTextStream = objTextStream
objNewEmail.HtmlBody = objTextStream.ReadAll
The issue I am having is I can only insert one HTML or the other. How can I add the Signature to the end of the email body?
Thanks for the help...