Can it be possible to send mail without selection

Hi is it possible to send mail without selecting a person’s name .this mail should be sent in copyto or blind copyto .

and other thing should i mention his/her forwarding address to readers field also .

can anyone provide me the LS code for agent .

Subject: can it be possible to send mail without selection

Hi Try this

Sub SendMail

Dim ses As New notessession

Dim db As notesdatabase

Dim col As notesdocumentcollection

Dim doc As notesdocument

Dim maildoc As notesdocument

Dim sign As notesrichtextitem

Dim richStyle As NotesRichTextStyle

Dim blindcopyto(0 To 1) As String

Dim sendto(0 To 1) As String

blindcopyto(0) = "x@x.com"

blindcopyto(1) = "xx@xx.com"

sendto(0) = “x@x.com”

sendto(1) = “xx@xx.com”

Set richStyle = ses.CreateRichTextStyle



Set db = ses.currentdatabase

Set maildoc = db.CreateDocument

maildoc.form = "Memo"

maildoc.SendTo = sendto

maildoc.BlindCopyTo = blindcopyto

maildoc.Subject = "XXXX"

Set MailBodyItem = maildoc.CreateRichTextItem("Body")

Call MailBodyItem.AppendText("Hello mey friend")

Call MailBodyItem.AddNewLine(2)

Call maildoc.Send(False)

End Sub