This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 41123
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?

Ping & DNS - my free Android networking tools app
William Brogden
Author and all-around good cowpoke

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

I agree. Here's the link:
subject: Problem sending mail through Java
Similar Threads
Having Problem in sending mail
how to configure the mail to send mail in server
Attachment in email not working in server
Java Mail send message to Yahoo account
Sending SMS from Java