Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Sending mails in Java

Posted on 2009-04-03
8
Medium Priority
?
162 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
  • 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Question has a verified solution.

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

Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
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 will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses
Course of the Month15 days, 2 hours left to enroll

578 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