Viewing html email in a browser

Here is my issue:I have a mail-in database that is receiving emails. The email is being sent as text/html, so when you open the email in a browser from this mail-in database, the only thing in the body field is an attachment with the email contents in it. If I open the attachment, the properly formatted html looks great.

However, I don’t want to have the attachment. I just want to view the html right in my rich text field.

One solution I have is to have the email sent at text/plain. But, I am looking for a better solution as we would like to keep the email as html. Any ideas?

Brittany

Subject: Viewing html email in a browser

Hi Brittany, I hope u want to send the mail in HTML Format.

Use This Code it will help u

=====================================

Dim bodyitem As NotesStream

Set bodyitem = session.CreateStream

Dim maildoc As New NotesDocument(session.CurrentDatabase)

Dim mime As NotesMIMEEntity

htmlhead = {EXAMPLE}

bodyitem.WriteText htmlhead

Set mime = maildoc.CreateMIMEEntity(“Body”)

mime.SetContentFromText bodyitem, “text/html”, ENC_NONE

maildoc.Subject = “Test”

Call maildoc.Save(True,True)

maildoc.Send False, alternatemale

======================================

Hope That Will Help U.

If U r Unable to do let me know

Pawan

pawan.kumar@v2solutions.com

Subject: RE: Viewing html email in a browser

Thanks, but I am not sending the email from Domino. It is an email being sent from a Java application. I just want to receive it in a Domino app and be able to view it in a browser.

Brittany

Subject: RE: Viewing html email in a browser

Check the mail-in document (or person document) that you’re using to route the incoming email to your Domino app. Is the mail preferences field set to “Keep in sender’s format”? If not, change it so that it is, and resend the mails.

Cheers,

  • Mike

Subject: RE: Viewing html email in a browser

The document is a mail-in database document, so there is no mail preferences field.

Subject: RE: Viewing html email in a browser

On a mail-in database document, the field is called “Internet message storage”.

Cheers,

  • Mike