ccs34
asked on
Validating Domino Email Addresses from java and sending mail
I need to validate shortname entries against the name and address book in notes r5 and expand accordingly and send a mail message through domino. Any thoughts on approach? I would have to cycle through each user in the NAB and examine the shortname and grab real email address before constructing a valid email. Can I send through domino or do i need to use smtp?
thanks for any help
brent
thanks for any help
brent
You can send through Domino using the shortname that's already set for each person, so long as these shortnames were set up uniquely. Once you have that in place, you can send using the Notes Java API, or you can send via an SMTP server... though, if the SMTP server is not your Domino SMTP server, it may be set to only recognize a specific RFC822 name for each person.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Look into Notes help on how to use GetDocumentByKey or GetAllDocumentsByKey in java
~Hemanth