Home Answers Viewqa JSP-Servlet how to send a mail

 
 


harini
how to send a mail
0 Answer(s)      3 years and a month ago
Posted in : JSP-Servlet

Dear sir,
I am able to send a mail.But when a receiver gets a mail ,the matter will be shown in a single line .
I am sending a following matter
Dear Harini ,
U r bonus is 2000 .
Regards
Hr.

But when a receiver got a this mail as a

Dear Harini,U r bonus is 2000.Regards Hr.

The following is a code i used
//sewnding a method
public String sendMailWithAttachment(String from, String to, String ccList,
String bccList, String subject, String matter, PrintWriter out,
String attachment[]) {

System.out.println("Message is "+matter);

// ///// setting matter

MimeBodyPart mbp1 = new MimeBodyPart();
mbp1.setContent(matter, "text/html");
mp.addBodyPart(mbp1);
}


In this method i used a these statements , if i print a matter it will showing as it is but after sent it will not.so how to get a matter as it is what am sending..please help me sir if any changes..

Thanks and Regards
Harini Veerapur
View Answers









Related Pages:
mail
mail  how to send mail using jsp   Please visit the following links: JSP Send Mail Java Mail Tutorials
send the mail with attachment - Struts
send the mail with attachment   Hi Freinds, i am sending the mail without attachment file now. But i need to send the mail with attachment... the mail . Mail Problem is file path: how to get the file path from the browse("we
How to send mail - JSP-Servlet
How to send mail  Thanks a lot ODBC is cleared to me now. Now,have another query about how we can send mail by using jsp. Actually i want to make a web page for a user feedback ,it must be send to our mail id
mail
mail  I wrote a program to send mail using smtp. But there is an error message " could not connect to smtp.gmail.com port 465. what is the problem how can i solve it ...   Please visit the following link: Java Mail API
send mail using JavaScript
send mail using JavaScript  How can we send mail using JavaScript?   Hi friends, You can not send email directly using JavaScript. But you can use JavaScript to execute a client side email program send the email using
how to send a mail - JSP-Servlet
how to send a mail  Dear sir, I am able to send a mail.But when a receiver gets a mail ,the matter will be shown in a single line . I am... . Regards Hr. But when a receiver got a this mail as a Dear Harini,U r bonus
send mail using smtp in java
send mail using smtp in java  How to send mail using smtp in java?   Sending mail in JSP - SMTP
Compose mail by clicking on send mail button
Compose mail by clicking on send mail button  How i get microsof out look page opend for composing mail by just clicking on send mail button and when outlook page open then in to:my email id is written on my jsp page
send mail from j2me application
send mail from j2me application  how to send mail from j2me application? i need some example code related
send mail from j2me application
send mail from j2me application  how to send mail from j2me application? i need some example code related
how to send mail with multiple attachments in jsp
how to send mail with multiple attachments in jsp  how to send mail with multiple attachments in java script
java auto mail send - Struts
java struts , eclipse & tomcat. i want to send mail automatically when the server start..I use the code for send mail..but i dont know how to sent... scheduler.It referesh the server can send mail after specify interval. For more
send the mail with attachment problem - Struts
send the mail with attachment problem  Hi friends, i am using... to select the attached document from the jsp page(browser:");How to get the file... mail server properties.setProperty("mail.smtp.host", host
How i can send mail by using jsp.............. - JavaMail
How i can send mail by using JSP  Hi, will you please tell me how i can send mail by using jsp. Tell me in detail. Thanks!  Example and JSP... to create a send mail program using JSP.JSP Send Mail Program Resources:-http
how to send smtp mail to entered user mail id after user registered using javascript?
how to send smtp mail to entered user mail id after user registered using javascript?  how to send smtp mail to entered user mail id after user registered using javascript
how to send smtp mail to entered user mail id after user registered using javascript?
how to send smtp mail to entered user mail id after user registered using javascript?  how to send smtp mail to entered user mail id after user registered using javascript
Send Mail using James Server
Send Mail using James Server       This application illustrates how to send mail on the mail... a send mail class which is used to send the mail in the mail box of James mail
How i can send testing mail on my id using java?
How i can send testing mail on my id using java?  Which packages i should use to implementing java mail service??? Thanks
Send multipart mail using java mail
Send multipart mail using java mail       This Example shows you how to send multipart mail... parts. When u send a multipart mail firstly create a Multipart class object
Send forgot Password through mail - JSP-Servlet
is provided) Now my question is how do i send the password if admin click on forgot password and i need to send that password through mail after answering a few...Send forgot Password through mail   hello every one I am
how to send mail to many recipients using jsp,apache
how to send mail to many recipients using jsp,apache  hello i am... to send this jsp page content (web page content which consists of this excel... but not as attachment.can we do this .....the list of mail recipients are in a table
php send mail with attachment
php send mail with attachment  Syntax of sending email with attachment in PHP
send mail in PHP
send mail in PHP  what are configurations needed to send mail in php.ini file by localhost ,please give me complete details about this,and code in datail
php mail
php mail  how to send the submitted form to mail after 24 hours? pls help me
how to send email
how to send email  hii i am new for jsp-servlet and i am making a project in jsp-servlet. i want to send the email after registration to client.please send me code that how to send mail after client registration. thank you
Send E-mail in HTML
Send E-mail in HTML       The Tutorial describes you a code that help you to send Email in HTML. In this Tutorial, the code create a HTML Page, which depicts you how
Send HTML Mail with images
Send HTML Mail with images       This Example shows you how to send a html message using.... This class provides methods that send a message to a list of recipients. Invoking
How to read a log file from server location and send a mail when exception occurs.
How to read a log file from server location and send a mail when exception occurs.  HI, How can i read the 2GB to 4GB log file from server. and i need to send a mail when exception occurs. Thanks Rajeev
how can i send a mail to a particular user from a many user dropdown list in jsp
how can i send a mail to a particular user from a many user dropdown list in jsp  how can i a sent a user question to a particular person from a drop down list in jsp
How to set attachment from browse button to send mails using java mail api
How to set attachment from browse button to send mails using java mail api   Hello Sir, I am making Email Sending app using java mail api... of browser security feature. Plz give to how to complete the task Thank you Sir
can u plz help out how to attach file directly & send to a particular mail id
can u plz help out how to attach file directly & send to a particular mail... mini project so if a faculty write all details abt leave & shd send to HOD for approval so i need ur guidance how to tackle this problem
java mail - Java Beginners
java mail  how to send mail using with out Authentication?????????/ using gmail server
java mail api - JavaMail
java mail api  Hi, Pls give me the detailed information on how to configure tomcat server to send and receive mails & what packages to include... points : 1.Download the Apache Mail server (James) http://james.apache.org
How to send and recieve email by using java mailserver
How to send and recieve email by using java mailserver  How to send and receive email by using java mail server?   Hi Friend, Please visit the following link: Java Mail Thanks
java mail error - JavaMail
java mail error  how to rceive emails using java mail api  Hi Friend, We can use Java Mail APIs to send and receive mails in Java.... Please visit the following link to know more about use of Java Mail API. http
configure mail sever
configure mail sever  ok James is a best server for javamail but how to configure and run program if you have any program pls send me at upendra.softengg@gmail.com   Hi Friend, Read Here Thanks
java mail - JavaMail
java mail  how to send a mail without authentication in java ?  Hi Friend, Please visit the following link: http://www.roseindia.net/javamail/ Hope that it will be helpful for you. Thanks
java mail - Java Beginners
java mail  how to send a mail without authentication one domain....  Hi, You have to use the Java mail api. You need to use the SMTP server to send email. Please check the url http://www.roseindia.net/answers
how to send contact detail in email
problem...frnd how to send a contact form detail mail on a click submit button...how to send contact detail in email  hi...all of u.....i am work...; <tr> <td><p><input type="submit" value="Send Mail
JAVA Mail - JavaMail
JAVA Mail  Hi! I am trying to send the mail using SMTP of gmail. program was compiled successfully. when i am trying to execute that program it is showing error --- Must issue STARTTLS command first... How to avoid
E-mail Tutorials
E-mail Tutorials       Sending an email in JSP In this section, you will learn how to send
sending a mail - JSP-Servlet
sending a mail   I m writing a code for send mail in jsp,i sending a mail to specified receiver but if i attach an file and send a mail then i m getting an error. Here Attachment is in String[] Attachment=null so how
Introduction of Java Mail
how to send multipart mail using java mail. Multipart is like a container... This Example shows you how to send a Attachment in the message using java mail api... Mail API.   How does Email works
Unable to send mail using php script
Unable to send mail using php script  Hello i am trying to send mail using mail function.But the message is never sent. I have installed a free smtp... settings are [mail function] ; For Win32 only. SMTP = localhost smtp_port = 25
plese send information how to do this - Development process
plese send information how to do this  present i am doing project...: button:ok textfield mail: textarea footer: textfield here some radiobuttons like fallowing .confirmation mail to customer
Sending mail - JavaMail
Sending mail  Need a simple example of sending mail in Java  Hi,To send email you need a local mail server such as apache james. You first download apache james mail server and install on the local network.Then create
send without authentication mail using java - JavaMail
send without authentication mail using java  Dear All, I am tring to send simple mail without authentication using java. is it possible, could i send email without authentication. I have written following code. public
Mail from JSP with SMTP - JavaMail
Mail from JSP with SMTP  Hi, Can any one pls guide me how to send mail from JSp page by using SMTP IP address. Regards...,Britto.M  Hi Friend, Please visit the following link: http://www.roseindia.net/mail
Email - Electronic mail
Email - Electronic mail In this article we will understand the E-mail and see how it works? Now a days email is integral part of day to day life for all internet users. We prefer email over standard mail. Email is free
Sending mail (Contact Form in a website)
Sending mail (Contact Form in a website)  Hi, I just uploaded few... on submit should send the details to my inbox. I heard this can be possible in PHP. Can anyone plsss tel me how to do this. Thanks in advance. Valli