Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Sweet in servlet

  Asked By: Leon    Date: Jul 07    Category: Java    Views: 400
  

If u know this mail me soon .

Whats the syntax to send a pdf as an email using servlet ? .

Is the following correct or not .
Mail mail = new Mail(lsa_smtp);//lsa_smtp ==> Server IP
buf = bout.toByteArray();
mail.setAttachment(buf);
mail.sendMsg();

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Sweet in servlet Or get search suggestion and latest updates.




Tagged: