Solved

Sending mails in Java

Posted on 2009-04-03
8
158 Views
Last Modified: 2013-11-23
Anybody has a working sample code to send mails. I am looking for for sending mails a list of TOaddresses, list of CCaddresses and BCCaddresses together.
0
Comment
Question by:fix2009
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
8 Comments
 
LVL 12

Expert Comment

by:basav_com
ID: 24065869
0
 
LVL 12

Expert Comment

by:basav_com
ID: 24065874
Check from example 19-7 onwards:
http://www.ibiblio.org/java/books/jnp3/examples/19/
0
 
LVL 92

Expert Comment

by:objects
ID: 24065936
0
Turn your laptop into a mobile console!

The CV211 Laptop USB Console Adapter provides a direct Laptop-to-Computer connection for fast and easy remote desktop access with no software to install.

 
LVL 12

Accepted Solution

by:
basav_com earned 350 total points
ID: 24065994
Simple examples with explanation:
http://www.vipan.com/htdocs/javamail.html
0
 

Author Comment

by:fix2009
ID: 24199252
A little more help on this one.  How to set the bounce address on emails. And what is the purpose of setting bounce address on email.
0
 
LVL 92

Expert Comment

by:objects
ID: 24200243
use setFrom()

0
 

Author Comment

by:fix2009
ID: 24207463
Object, can you be little more clear. setFrom() is used to set from address.
0
 
LVL 92

Expert Comment

by:objects
ID: 24210342
thats the best you can do sorry
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This video teaches viewers about errors in exception handling.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question