M
morc
hi,
i have a class that takes parameters into construcor:
MailTransport(String fromAddress, String[] toAddress, String subject,
String messageBody, Object[] attachment, String[] contentType)
i did not write MailTransport. so i do not understand how to use the
Object[] attachment, i have just been typing null an ti seems to work.
however i would like to attach a .txt file
how to i make a text file into Object[]???
if unclear i will attempt to clear anything up as i know i might be
difficult to understand.
thanks for any input
-morc
i have a class that takes parameters into construcor:
MailTransport(String fromAddress, String[] toAddress, String subject,
String messageBody, Object[] attachment, String[] contentType)
i did not write MailTransport. so i do not understand how to use the
Object[] attachment, i have just been typing null an ti seems to work.
however i would like to attach a .txt file
how to i make a text file into Object[]???
if unclear i will attempt to clear anything up as i know i might be
difficult to understand.
thanks for any input
-morc