I am trying to write a function that uses MAPISendmail to generate EMails with HTML attachments.
Problem is that some EMail clients don't recognise the attachment as being a HTML file and won't open it.
So the clue is to tell the client application which type of attachment is being sent and/or which type of encoding (Mime or UUENCODE) has to be used.
The MAPIFileDesc structure has a member FileType which, in all documentation that I found up till now, is allways set to NULL.
However, the FileType can be set to be a pointer to the attachment file type, which can be represented with a MapiFileTagExt structure.
Question : how do I use this MapiFileTagExt structure in VBA (Access 2000) (code sample would help me very much !!)
(OR, if there is another way : how can I get the client EMail programs to read my HTML attachments properly)
Anybody got a clue (or knows where to find one?)
Thanks
Carl
[sig][/sig]
Problem is that some EMail clients don't recognise the attachment as being a HTML file and won't open it.
So the clue is to tell the client application which type of attachment is being sent and/or which type of encoding (Mime or UUENCODE) has to be used.
The MAPIFileDesc structure has a member FileType which, in all documentation that I found up till now, is allways set to NULL.
However, the FileType can be set to be a pointer to the attachment file type, which can be represented with a MapiFileTagExt structure.
Question : how do I use this MapiFileTagExt structure in VBA (Access 2000) (code sample would help me very much !!)
(OR, if there is another way : how can I get the client EMail programs to read my HTML attachments properly)
Anybody got a clue (or knows where to find one?)
Thanks
Carl
[sig][/sig]