you need to bear with me, I came across problems.

most importantly, when you create an email (using outlook etc),  and 
yes I know not everyone uses windows ;-} - you have the ability to 
attach files. 

I thought I had the thing cracked, found out all the attachments, saved 
them to file and then  . . . I inadvertently attached the same file 
name twice (from different directories) - outlook happily attached two 
quite different files, and then when I use existing software calls to 
%NetMailMessagePart - I found out that the second file over wrote the 
first file  !!!! 

I am now busy changing the code to derive unique filenames and store 
the link to the old filename. 

eventually (time etc permitting) I will post something to the MGateway 
Utility site. 

one other thing, doing simple html emails from within cache is easy, 
like Sean says, just set IsHTML=1 and then just write the html code as 
the Bodytext. 

the problems arise when you want to embed images inside the emails 
(more professional) - the code provided within %Net.MailMessagePart 
does not provide for the necessary hooks - I have solved this, and when 
I post the above solution, I will post the "Embedded images" solution. 

kev


Reply via email to