run time error wats the wrong?
- by javacode
I am getting run time error
import javax.mail.*;
import javax.mail.internet.*;
import java.util.*;
public class SendMail
{
public static void main(String [] args)throws MessagingException
{
SendMail sm=new SendMail();
sm.postMail(new String[]{"xyz@yahoo.co.in"},"hi","hello","abc@gmail.com");
…