• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 166
  • Last Modified:

Sending mails in Java

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
fix2009
Asked:
fix2009
  • 3
  • 3
  • 2
1 Solution
 
basav_comCommented:
Check from example 19-7 onwards:
http://www.ibiblio.org/java/books/jnp3/examples/19/
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
basav_comCommented:
Simple examples with explanation:
http://www.vipan.com/htdocs/javamail.html
0
 
fix2009Author Commented:
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
 
objectsCommented:
use setFrom()

0
 
fix2009Author Commented:
Object, can you be little more clear. setFrom() is used to set from address.
0
 
objectsCommented:
thats the best you can do sorry
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

  • 3
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now