Solved

sending email in java

Posted on 2014-01-31
7
443 Views
Last Modified: 2014-03-07
Hi,

I was trying this example to send email using java.

http://www.avajava.com/tutorials/lessons/how-do-i-send-an-email-in-java.html

I never configured host, domain etc. How to run this example.
please advise
Any links resources ideas highly appreciated. Thanks in advance
0
Comment
Question by:gudii9
[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
7 Comments
 
LVL 35

Assisted Solution

by:girionis
girionis earned 167 total points
ID: 39826791
The example states that you have to download the mailenable, have you done it?
0
 
LVL 21

Assisted Solution

by:Amitkumar Panchal
Amitkumar Panchal earned 166 total points
ID: 39827811
Agree with girionis.

The link itself gives some idea how to configure mailenable. Configure mailenable in your local machine to make your machine SMTP server. Then you can use to send the mails and verify send mail program.
0
 
LVL 7

Author Comment

by:gudii9
ID: 39842753
will try from home laptop
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
LVL 7

Author Comment

by:gudii9
ID: 39878671
I just downloaded it.
For some strange reason, Microsoft buries this useful file (at least in XP) at C:\WINDOWS\system32\drivers\etc\hosts. This is similar to Oracle burying the tnsnames.ora file way down in the directory structure. Oh wait, I digress...[


I do not see etc under

C:\WINDOWS\system32\drivers

so I could not see hosts file also

My laptop is windows7.

Please advise
0
 
LVL 7

Author Comment

by:gudii9
ID: 39878674
This project utilizes the JavaMail API, which can be downloaded at http://java.sun.com/products/javamail/downloads/. The JavaMail API requires the JavaBeansW Activation Framework, which can be downloaded at http://java.sun.com/products/javabeans/jaf/downloads/index.html.

Above two links also not working. where can i download them. Please advise
0
 
LVL 35

Accepted Solution

by:
mccarl earned 167 total points
ID: 39879128
0
 
LVL 7

Author Comment

by:gudii9
ID: 39889278
I will try with those links and let you know
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
V.simple question about Android packages and libraries 1 38
eclipse buid path vs tomcat lib path 10 38
Android development question 2 81
Eclipse with various Java releases 7 52
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

730 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