email - m.setTo(toArr) The method setTo(String[]) is undefined for the type Mail -


mail m = new mail("mail", "password");  string[] toarr = {"tt@gmail.com", "tt1@gmail.com"};  //here comes error! m.setto(toarr);  //here comes error! m.setfrom("christian.schartner@gmail.com");  //here comes error! m.setsubject("using mail javamail wrapper android device.");  //on m.setbody no error! m.setbody("email body.");  

i error in eclipse when paste code.

hey had same issue,

the method setto(string[]) undefined type mail

just sure have activation.jar, additionnal.jar , mail.jar files of javamail api inside /libs project folder.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -