Hi everybody,
I have a procedure written by someone which allows to Send HTML pages by Outlook. This procedure first fixes HTML, in other words it puts absolute paths for the images (jpg) and creates these images in the source directory of the project (in my case c:\Send Mail). It then sets HTMLBody and also attaches the files using attachements.Add method. The files are there and the string is
"c:\Send Mail\myFile.jpg" with the double quotes around the string.
The Outlook complains that the directory or file name is not found, though as I said, the file is there, on the line
mItem.Attachments.ADD(attarr(i))
The HTMLBody is set prior to Attachments.Add
Do you know what could be wrong?
Thanks in advance.
If it's not broken, fix it until it is.
My Blog