?
Solved

Sending mails in Java

Posted on 2009-04-03
8
Medium Priority
?
159 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
Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

 
LVL 12

Accepted Solution

by:
basav_com earned 1050 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

Supports up to 4K resolution!

The VS192 2-Port 4K DisplayPort Splitter is perfect for anyone who needs to send one source of DisplayPort high definition video to two or four DisplayPort displays. The VS192 can split and also expand DisplayPort audio/video signal on two or four DisplayPort monitors.

Question has a verified solution.

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

This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses
Course of the Month8 days, 3 hours left to enroll

765 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