Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Other JSE/JEE APIs and the fly likes Problem sending mail through Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Problem sending mail through Java" Watch "Problem sending mail through Java" New topic

Problem sending mail through Java

Prashant Ameta

Joined: Jul 17, 2012
Posts: 11
While practicing I created an E-Mail sender form through Java

It works fine , Except E-mails are not delivered in real-time it takes 15 to 30 mins for an e-mail to deliver.
This is the manager class that I used.

How can I make them deliver instantly??
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42954
I've never heard of, it could be a consequence of something they do. Does the same happen if you use a different provider like Gmail or Yahoo?
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12913
Considering all the processes that have to cooperate, it is hardly surprising that emails are not delivered "instantly"

Have you tried LearnNowOnline?
subject: Problem sending mail through Java