Send mail in java

hi,

i need to send to a email to multiple recipent through Java. i getting the recipent email address from a list field and then need to pass the all the email address to a sub to process the sending mail - but how shld i do it? see below

how do i declare Variant in java?

Subject: send mail in java

Hi - you need to import the java.util.Vector class, and stick the contents of your multi-value field in a new Vector. You can then populate the sendTo field of your new mail by using the Document.replaceItemValue method.