• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Fetching all email Ids from a parent/group Id

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all;
I was wondering if is there any way by which one would be able to fetch all email Ids which are grouped under some separate parent id.
To make it more clear,Suppose if i have one HR id like "hr@example.com" and all my employees comes under that id.So if i send an email to "hr@example.com" it gets received by all those who are entitled to get that.
Now my requirement is to get all those entitled email ids to whom sent mails are suppose to be received sent by parentid "hr@example.com".If somebody has already done this before by javamail or any other api then please share your
experiences or just some suggestions for by any means it can be achievable.

Thanks;
Ajay Padvi
 
Ranch Hand
Posts: 1609
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why not drop a mail to HR@example.com and ask them who are all the receipient of this mail?
 
Sheriff
Posts: 22815
132
Eclipse IDE Spring Chrome Java Windows
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Arien, welcome to the Ranch!

Akhilesh Trivedi wrote:Why not drop a mail to HR@example.com and ask them who are all the receipient of this mail?


I think you misunderstand. As I understood, HR@example.com is a distribution group or something similar. It isn't a real email box, but emails sent to that email address are automatically sent to all members of that group. Sending an email to HR@example.com would cause this email to be sent to all group members. You can't expect those to reply back; some may not care, some may not understand, and some may even no longer be active.
 
arien mascarenhas
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Akhilesh Trivedi wrote:Why not drop a mail to HR@example.com and ask them who are all the receipient of this mail?



Probably i was not make able to make a point but again as only those having an access to,can send a mail to group ids..I dont want to drop any mail to hr@example.com.
My parent id is hr@example.com or say any other,and i just want to see who all are the other recipients if somebody sends mail to that id and it got received by us all.

The Question is not related to any organization,If it would have;i could have just ask HR;s or owner of any other groups to give me a list of recipients as per your suggestions before posting it into forum.
Thanks;



 
arien mascarenhas
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rob Spoor wrote:Arien, welcome to the Ranch!

Akhilesh Trivedi wrote:Why not drop a mail to HR@example.com and ask them who are all the receipient of this mail?


I think you misunderstand. As I understood, HR@example.com is a distribution group or something similar. It isn't a real email box, but emails sent to that email address are automatically sent to all members of that group. Sending an email to HR@example.com would cause this email to be sent to all group members. You can't expect those to reply back; some may not care, some may not understand, and some may even no longer be active.


Thank you Rob for your reply
 
Akhilesh Trivedi
Ranch Hand
Posts: 1609
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

arien mascarenhas wrote:

Probably i was not make able to make a point but again as only those having an access to,can send a mail to group ids..



Do you mean only specific person can drop a mail to the group-id?


arien mascarenhas wrote:

My parent id is hr@example.com or say any other,and i just want to see who all are the other recipients if somebody sends mail to that id and it got received by us all.



Where is the sender from? Is he inside or outside the example.com?
 
A feeble attempt to tell you about our stuff that makes us money
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic