redmosquito9
06-23-2012, 08:47 AM
Is there a max length for the .htmlbody?
I have a function that has worked like a charm in many other applications that automatically sends an email to individuals in a recordset; however this time I get an error when I try to set the .htmlbody property.
The error is something about the outlook connection and that it needs to be restarted, but I when I replace the string with a simple "hello world" html it works. Also, I opened the large html string in a browser and it works.
The only thing I can think of is the length of it. It's currently 2500+ characters, and it works fine if I run it with left(htmlstring,1000) [obviously an issue though].
Any help would be apreciated.
I have a function that has worked like a charm in many other applications that automatically sends an email to individuals in a recordset; however this time I get an error when I try to set the .htmlbody property.
The error is something about the outlook connection and that it needs to be restarted, but I when I replace the string with a simple "hello world" html it works. Also, I opened the large html string in a browser and it works.
The only thing I can think of is the length of it. It's currently 2500+ characters, and it works fine if I run it with left(htmlstring,1000) [obviously an issue though].
Any help would be apreciated.