File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes Problem with Java Mail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Problem with Java Mail" Watch "Problem with Java Mail" New topic
Author

Problem with Java Mail

Makarand Parab
Ranch Hand

Joined: Dec 10, 2004
Posts: 121
Hi All
My application is a java batch application, which executes certain batch of work and sends a status mail once the batch of work is done. I am using java mail to send the email. My mail client is Lotus Notes. If i give the group name in the "To" block, the mail class does not throw any exception and runs fine but i do not recieve the status mail. If i give my mail id in the "To" block, it sends me a status mail.

In short, i am not able to send emails to a particular group through java mail. can anybody let me know what's the problem.

Thanks in advance

Regards
Makarand Parab
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

I'm moving this to the "Other API's" forum -- where Java Mail gets discussed a bunch. So please post your replies there, thanks!
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15286
    
    6

Originally posted by Makarand Parab:
Hi All
My application is a java batch application, which executes certain batch of work and sends a status mail once the batch of work is done. I am using java mail to send the email. My mail client is Lotus Notes. If i give the group name in the "To" block, the mail class does not throw any exception and runs fine but i do not recieve the status mail. If i give my mail id in the "To" block, it sends me a status mail.

In short, i am not able to send emails to a particular group through java mail. can anybody let me know what's the problem.

Thanks in advance

Regards
Makarand Parab


How does the JavaMail API know what group you are talking about? If I am understanding you correctly, you've made a distribution list of email addresses. We have a ton where I work, one being _PC_SUPPORT which contains all the email addresses for the PC Support staff, myself included. If I write a JavaMail application, it has no way of knowing anything about the _PC_SUPPORT distribution list because JavaMail is not connected to our Exchange servers. Nor would your program know anything about your lotus setup.


GenRocket - A Test Data Generation Platform
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with Java Mail
 
Similar Threads
running java application in background
Problem with java mail
Java mail : getting response from smtp server
How to increase speed of mail process
calling something like mailto from Java program