pechettysuguna
Programmer
Hi,
How to send the email to muliple users ?
I tried the following code, its works for 1 users as follows. Created a string "allids" having two email IDs seperate by ",". But when i add "allids" to "sento",gives error "unable to find name in the address book". But individually its goes.
*************************************************
Set db=s.currentdatabase
Set v =db.getview("ve0009st1")
Set view = db.getView("vbvs01ku")
Set entry = view.GetEntryByKey("bvset")
REM column values has a email ID.
cername= entry.ColumnValues(0)
indname= entry.ColumnValues(1)
qtyname= entry.ColumnValues(2)
itname= entry.ColumnValues(3)
finname= entry.ColumnValues(4)
allids=cername+","+indname
Set memodoc=New notesdocument(db)
memodoc.form="memo"
memodoc.sendto=qtyname
memodoc.subject="Testing"
*************************************************
Please help.
How to send the email to muliple users ?
I tried the following code, its works for 1 users as follows. Created a string "allids" having two email IDs seperate by ",". But when i add "allids" to "sento",gives error "unable to find name in the address book". But individually its goes.
*************************************************
Set db=s.currentdatabase
Set v =db.getview("ve0009st1")
Set view = db.getView("vbvs01ku")
Set entry = view.GetEntryByKey("bvset")
REM column values has a email ID.
cername= entry.ColumnValues(0)
indname= entry.ColumnValues(1)
qtyname= entry.ColumnValues(2)
itname= entry.ColumnValues(3)
finname= entry.ColumnValues(4)
allids=cername+","+indname
Set memodoc=New notesdocument(db)
memodoc.form="memo"
memodoc.sendto=qtyname
memodoc.subject="Testing"
*************************************************
Please help.