How to send mail in plain text

Hi

I have customized the standard mail template for personal use; I am able to send mails and receive mails; I have added a action button to the pannel of buttons that come in the default template thats… Send, Send & Save… etc. I have named this button Format;

When I click the Format button a drop down menu comes up with two radio buton options 1. Rich Text and 2. Plain text

When I select Rick Text I am able to send mails in HTML Format

When I select Plain text I want the mail to be sent in plain text format;— Can some one help me in this I am using Lotus Scrip to code the stuff

Note: the mail contents is HTML; I want the same contents to be sent as plain text

Thanks.

Warm Regards

Dominic

Subject: How to send mail in plain text

You can use an agent to solve this problem:

Sub Initialize

Dim workspace As New NotesUIWorkspace	

Dim session As New NotesSession

Dim uidoc As NotesUIDocument

Dim doc As NotesDocument

Set uidoc = workspace.CurrentDocument

Set doc = uidoc.Document



Call doc.Send(False,doc.GetItemValue("SendTo"))

End Sub

Subject: RE: How to send mail in plain text

Hi

Thanks fo rthe responce

I see that you are using two object uidoc and doc I wanted to know why

because uidoc also has a send method which we could use directly

Warm Regards

Dominic