Problems with attachment

Hello,

I have some code that sends an email, if i send the email to other domino mailboxes, attachments are sent correctly.

The problem it appears when i send document to other email addresses through internet, in that case attachments are transformed into mime format (letters and numbers).

That happened after the server was upgraded from 6 to 7.

The problem appears when disclaimer is added, when disclaimer it’s not added to the template of the mail nothing happens.

thank you in advance for your help

Part of the code which sends the email

Set docmail = vwunid.getdocumentbykey(doc.universalid,True)

If Not(docmail Is Nothing) Then 

	Set rtitemdocMail = docmail.GetFirstItem( "Body" )

	Call rtitemdocMail.AddNewLine( 2 )

	Call rtitemdocMail.AppendRTItem( rtitemdocCurr )

	Call docmail.Send(False)

Federico