Greetings,
We use Domino 6.5.2
I am capturing email messages in mail.box database, and when these are in MIME format I add a disclaimer to them with the following code :
'----------------------
Sub AddMIMEDisclaimer(mimeBody As NotesMimeEntity)
'----------------------
On Error Goto ERROR_HANDLER
Dim mimeMail As NotesMimeEntity
Dim mimeDisc As NotesMimeEntity
Dim strText As NotesStream
Set mimeMail = mimeBody.CreateParentEntity
Set mimeDisc = mimeMail.CreateChildEntity
Set strText = m_ses.CreateStream
Call strText.WriteText(m_sDiscText)
Messagebox("ADDED DISCLAIMER IN MIME")
Call mimeDisc.SetContentFromText(strText, “text/plain;charset=ISO-8859-7”, ENC_IDENTITY_8BIT)
Exit Sub
'-----------------------------------------
When I send a message through Notes Client or Microsoft Outlook the user receives all the info. If the recipient has Microsoft Outlook express he sees the attachment mark but the message contains the disclaimer in its Body correctly.
If the recipient uses Microsoft Outlook 2003 the whole disclaimer part appears like an attachment with a name ATTnnnn.txt
Am I doing something wrong ;
I’ve tried several things, to use “text/html”, to add the disclaimer to mimeMail insteaf of mimeDisc, or add it directlry to mimeBody but nothing…
I only want to have the disclaimer text added at the end of the message inside the Body.
Thanks for any answers.