Posted By:
sethu_rajan
Posted On:
Wednesday, July 4, 2001 08:41 PM
Friends, I am doing project in Java Mail API. Today I done code to send attachment. But that code work only when I put a file to attach. Normally attachment is optional, but if I not give filename to attach the coding is not working. Is there any reason for this specially. I also, check the condition as below, if(filename!="") { //code for send mime type } else { //code for send text type } Please clear my problem and also advance Thank you for all.
More>>
Friends,
I am doing project in Java Mail API.
Today I done code to send attachment.
But that code work only when I put
a file to attach.
Normally attachment is optional, but
if I not give filename to attach the
coding is not working.
Is there any reason for this specially.
I also,
check the condition as below,
if(filename!="")
{
//code for send mime type
}
else
{
//code for send text type
}
Please clear my problem and also advance
Thank you for all.
<<Less