File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to send mail

 
Swayamveer Saurabh
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What I did:
1. I am connected to the internet using my phone.
2. I downloaded apache-james 2.3.2; executed run.bat from bin with default settings. No changes were made.
3. I have mail.jar and activation.jar in my build path
4. Used this code from a tutorial website



Question: What am I missing out?
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean? What happens if you run this code? But since you said nothing about settings up accounts or a DNS MX record, and are using an external sender address, it looks like you are setting up a send-only server (i.e., just SMTP, not POP or IMAP). In which case the question would be: why use a mail server at all? Why not use just the JavaMail API?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic