RenderToRTItem external email issue

I am having trouble sending a screenshot of a form to an external email address.

When the code below sends an email to an email address within our domain, the screenshot of the form shows up correctly. If the email is sent to an external email address, the screenshot shows up as follows the LotusScript below. Essentially, all of the information is there, but none of the form.

Here is my code:

Dim docA As NotesDocument

		Dim docB As NotesDocument

		Dim myrtitem As NotesRichTextItem

		Dim success As Variant

		Dim DBProfile As NotesDocument

		Set db = session.CurrentDatabase

		Set docA = uidoc.Document

		Set docB = New NotesDocument( db )

		Set myrtitem = New NotesRichTextItem( docB, "Body" )

		Set DBProfile = db.getProfileDocument("DBProfile")

		

		docB.Form = "Memo"

		docB.ReplyTo = "myemail@internaldomain.com"								'Email recipient will be notified that they should reply to this address. If they hit 'reply' this address will populate the "To" field

		docB.Subject = "replyaddress@internaldomain.com"

		success = docA.RenderToRTItem( myrtitem )								' Add a screenshot of the Help Desk call to the email

		docB.SendTo = DBProfile.InnovatedEmails  'This is an array of email addresses. If internal domain addresses are included, they get the screenshot of the document, if external addresses are included, they get inintelligible text output. This array of email addresses are specified in the DBProfile document

		docB.CopyTo = DBProfile.COTBInnovatedCC 							' This array of email addresses are specified in the DBProfile document

		Call docB.Send(False )

The screenshot that shows up looks like this:

|-------------±-------------±----------------------±±±---------------------±----------±----------±------------------------>

| My Organization | | | | | | | | |

| | | | | | | | | |

| - Client | | | | | | | | |

| Services | | | | | | | | |

| Call | | | | | | | | |

| Tracking | | | | | | | | |

| System | | | | | | | | |

| Call #:expressionless: | | | | | | | |

| 20| | | | | | | | |

| 09| | | | | | | | |

| 00| | | | | | | | |

| 02| | | | | | | | |

| 37| | | | | | | | |

| | | | | | | | | |

|-------------±-------------±----------------------±±±---------------------±----------±----------±------------------------>

----------------------------------------------|

| |

----------------------------------------------|

|-------------±-------------±----------------------±±±---------------------±----------±----------±------------------------>

| Caller Name:| | Caller | | | | Phone: | | 555-2959 |

| | | Name/Finance/GRT| | | | | | |

|-------------±-------------±----------------------±±±---------------------±----------±----------±------------------------>

----------------------------------------------|

| |

----------------------------------------------|

|-------------±-------------±----------------------±±±---------------------±----------±----------±------------------------>

| Department: | | Finance | | | | PC Name: | | |

|-------------±-------------±----------------------±±±---------------------±----------±----------±------------------------>

----------------------------------------------|

| |

----------------------------------------------|

|-------------±-------------±----------------------±±±---------------------±----------±----------±------------------------>

| Division: | | Corporate Information | | | | Network | | |

| | | and Technology | | | | ID: | | |

| | | | | | | | | |

| | | | | | | | | mname|

| | | | | | | | | IP |

| | | | | | | | | Address: |

| | | | | | | | | |

| | | | | | | | | |

|-------------±-------------±----------------------±±±---------------------±----------±----------±------------------------>

----------------------------------------------|

| |

----------------------------------------------|

|-------------±-------------±----------------------±±±---------------------±----------±----------±------------------------>

| | | Business Applications | | | | Applicatio| | |

| | | | | | | n ID | | |

|-------------±-------------±----------------------±±±---------------------±----------±----------±------------------------>

----------------------------------------------|

| |

----------------------------------------------|

|-------------±-------------±----------------------±±±---------------------±----------±----------±------------------------>

| Asset Tag: | | | | | | Call | | Caller|

| | | | | | | Owner: | | name/Finance/GTB|

|-------------±-------------±----------------------±±±---------------------±----------±----------±------------------------>

----------------------------------------------|

| |

----------------------------------------------|

|-------------±-------------±----------------------±±±---------------------±----------±----------±------------------------>

| | | | | | | | | |

|-------------±-------------±----------------------±±±---------------------±----------±----------±------------------------>

----------------------------------------------|

| |

----------------------------------------------|

|-------------±-------------±----------------------±±±---------------------±----------±----------±------------------------>

| | | | | | | | | |

|-------------±-------------±----------------------±±±---------------------±----------±----------±------------------------>

----------------------------------------------|

| |

----------------------------------------------|

|-------------±-------------±----------------------±±±---------------------±----------±----------±------------------------>

| | | | | | | | | |

|-------------±-------------±----------------------±±±---------------------±----------±----------±------------------------>

----------------------------------------------|

| |

----------------------------------------------|

|-------------±-------------±----------------------±±±---------------------±----------±----------±------------------------>

| | | | | | | | | |

|-------------±-------------±----------------------±±±---------------------±----------±----------±------------------------>

----------------------------------------------|

| |

----------------------------------------------|

|-------------±-------------±----------------------±±±---------------------±----------±----------±------------------------>

| Long | | None | | | | | | |

| Description.| | | | | | | | |

| : | | | | | | | | |

|-------------±-------------±----------------------±±±---------------------±----------±----------±------------------------>

----------------------------------------------|

| |

----------------------------------------------|

|-------------±-------------±----------------------±±±---------------------±----------±----------±------------------------>

| Issue Type: | | Help Desk | | | | | | |

|-------------±-------------±----------------------±±±----------------

And it goes on and on.

Subject: RenderToRTItem external email issue

Although the help says that RenderToRichTextItem creates a picture it’s not truly a picture. In Notes, if you place the document in edit mode you can actually modify the text, etc. That said, when the email stays within Lotus Notes the body is RichText. When the email goes outside the company the body (in most cases) converts to MIME so a lot of the formatting is lost. Hope that explains it.

Subject: RE: RenderToRTItem external email issue

Thanks Paul, I understand now.

Do you know of any way to convert that MIME into an actual image, so that it can be viewed in a non-Lotus Notes browser?

Subject: RE: RenderToRTItem external email issue

I wonder why the screenshot shows up correctly in exrternal browsers when the email is manually forwarded? hmmmm.

Subject: RE: RenderToRTItem external email issue

The CD-to-MIME conversion for outbound mail in the Notes client has always had a lot better fidelity than the server outbound conversion. When you manually forward, you are very probably doing the conversion in the client (check the location document to be sure).