2d arrays
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Thursday, October 31, 2002 11:24 AM

How do you send pass a 2d array? Example: public void sendEmail (String mailServer, String subject, String to[], String from, String messageText, String[][] filenames) String[][] filenames needs to recieve a 2d array from my page which calls sendmail like this: the_mail.sendEmail (mailServer, subject, to ,from, body, attachment); attachment being a file that I uploaded to my server that I want to include in the email. I wrote the code the uploaded the file but not the code for the sendmail. Thanks    More>>

How do you send pass a 2d array?

Example:

public void sendEmail (String mailServer, String subject, String to[], String from, String messageText, String[][] filenames)



String[][] filenames needs to recieve a 2d array from my page which calls sendmail like this:



the_mail.sendEmail (mailServer, subject, to ,from, body, attachment);



attachment being a file that I uploaded to my server that I want to include in the email.



I wrote the code the uploaded the file but not the code for the sendmail.





Thanks

   <<Less

Re: 2d arrays

Posted By:   Anonymous  
Posted On:   Thursday, October 31, 2002 11:42 AM

You can always try something like :

the_mail.sendEmail (mailServer, subject, to ,from, body, new File[][] {new File[]{attachment}});
About | Sitemap | Contact