permaculture playing cards*
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
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: 15299
    
    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 - Experts at Building Test Data
 
 
subject: Problem with Java Mail