S
stuartjbray
Hi,
I want to send emails with pictures embedded, and I also want to be
able to fill in placeholder text in my email before they send, eg "Dear
<<Name>>".
Some of the relevant code I used to do this was:
dim ml as MailItem
strName = "Stuart"
ml.Body = Replace(ml.Body, "<<name>>", strName, , , vbTextCompare)
Unfortunately, as soon as I perform text operations on my body, it
turns the entire mail body to text, and loses the embedded images that
used to be there.
Does anyone have a solution for this one?
I even tried a softly softly approach like this:
ml.Body = "Dear " & strName & ml.Body
But even concatenating text turned the body into a string.
Assistance appreciated.
I want to send emails with pictures embedded, and I also want to be
able to fill in placeholder text in my email before they send, eg "Dear
<<Name>>".
Some of the relevant code I used to do this was:
dim ml as MailItem
strName = "Stuart"
ml.Body = Replace(ml.Body, "<<name>>", strName, , , vbTextCompare)
Unfortunately, as soon as I perform text operations on my body, it
turns the entire mail body to text, and loses the embedded images that
used to be there.
Does anyone have a solution for this one?
I even tried a softly softly approach like this:
ml.Body = "Dear " & strName & ml.Body
But even concatenating text turned the body into a string.
Assistance appreciated.