B
Bob
I want to use a word to make a email template for use in a rule as a
autoresponse.
Can I pass a string value into the word template when my rule runs the
script? I'm parseing out the name from the body of the incoming email
and want to pass that string (strFirstName)into a bookmark, in the body
of the word template.
I also want to include a couple of .jpg files, and hyperlinks in the
template, so that it can be read by any reciepient regardless of their
email client.
I've already tries a word.htm file saved in a .oft template, but when I
try to pass the string in, the graphics are attached rather than be
visible in the template.
When viewed in Outlook express it's all text.
code I'm using...
Set objItem = Application.CreateItemFromTemplate("C:\Documents and
Settings\My Documents\Autorespond.oft")
objItem.To = "outlookclient.com"
objItem.CC = "outlookexpressclient.net"
objItem.Subject = "Thank you for choosing"
objItem.Body = "Dear " & strFirstName & "," & vbCrLf & objItem.Body
objItem.Send
Set objItem = Nothing
Set olNS = Nothing
Is this possible?
I've had trouble finding refrences to this type of application.
Thanks in advance!
Bob
autoresponse.
Can I pass a string value into the word template when my rule runs the
script? I'm parseing out the name from the body of the incoming email
and want to pass that string (strFirstName)into a bookmark, in the body
of the word template.
I also want to include a couple of .jpg files, and hyperlinks in the
template, so that it can be read by any reciepient regardless of their
email client.
I've already tries a word.htm file saved in a .oft template, but when I
try to pass the string in, the graphics are attached rather than be
visible in the template.
When viewed in Outlook express it's all text.
code I'm using...
Set objItem = Application.CreateItemFromTemplate("C:\Documents and
Settings\My Documents\Autorespond.oft")
objItem.To = "outlookclient.com"
objItem.CC = "outlookexpressclient.net"
objItem.Subject = "Thank you for choosing"
objItem.Body = "Dear " & strFirstName & "," & vbCrLf & objItem.Body
objItem.Send
Set objItem = Nothing
Set olNS = Nothing
Is this possible?
I've had trouble finding refrences to this type of application.
Thanks in advance!
Bob