Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [NFR] Email Address Verification

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[NFR] Email Address Verification
 Login/Join
 
Expert
posted
I couldn't find anything here about verifying email addresses… So, here I am turning to the experts:

I, maybe we all, need a way to verify email addresses BEFORE they are included in a dynamic distribution list (DDL)for ReportCaster jobs. ReportCaster jobs do fail due to invalid email addresses in the associated DDL, and rightfully so. So, I'm looking for a way to validate email addresses, ..."sort of link checking the return code of a "ping" to a URL (if that's possible), before adding them in the DDL.

Is there such a methodology available within a fex? Or, is this a NFR?

This message has been edited. Last edited by: Doug,




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Platinum Member
posted Hide Post
Email addresses must have an [something] then a '@' and [something] and cannot contain spaces. You could set up a DEFINE to test the Email Address field to insure it meets these minimums.
 
DEFINE FILE EMAILLIST
TEST1/A1 = IF EMAIL_ADDRESS CONTAINS '@' THEN 'Y' ELSE 'N';
TEST1/A1 = IF EMAIL_ADDRESS CONTAINS '' THEN 'N' ELSE 'Y';
TEST3/A1 = Add other tests that you may require;
VALID/A1 = IF (TEST1 EQ 'Y') AND (TEST2 EQ 'Y') THEN 'Y' ELSE 'N';
END
 

Then add a WHERE clause to your code.
WHERE VALID EQ 'Y';

If you need to test for every element of the email address to validate it then look up RFC 2822. This is the standard by which email addresses must be structured to be valid. Or you can set up a validation test before your addresses are added to your DB.


WF 7.7.04, WF 8.0.7, Win7, Win8, Linux, UNIX, Excel, PDF
 
Posts: 175 | Location: Pomona, NY | Registered: August 06, 2003Report This Post
Expert
posted Hide Post
That's OK for checking the synatx / format of the email address. However, I need to know if it's a valid email address recipient: smtp, etc.

As mentioned above: ..."sort of link checking the return code of a "ping" to a URL"...
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Platinum Member
posted Hide Post
I doubt there's a way for you to check for that kind of validity on the fly. You can ping a domain using a DOS or UNIX command and get the reply data returned. Pinging an email address returns a host not found message.


WF 7.7.04, WF 8.0.7, Win7, Win8, Linux, UNIX, Excel, PDF
 
Posts: 175 | Location: Pomona, NY | Registered: August 06, 2003Report This Post
Expert
posted Hide Post
Unfortunately that wouldn't work for my application as I'm sure the domain is always there: DollarGeneral.com, and I'm in that domain. Smiler
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Platinum Member
posted Hide Post
You can use EDAMAIL to send a test message to check that an email address is correct. Search the forum for "EDAMAIL". There are several good posts on the subject.


WF 7.7.04, WF 8.0.7, Win7, Win8, Linux, UNIX, Excel, PDF
 
Posts: 175 | Location: Pomona, NY | Registered: August 06, 2003Report This Post
Platinum Member
posted Hide Post
The EDAMAIL mechanism sounds like a pragmatic "internal" approach.
It is also "technically" possible without sending and email address. We met with a company here in South Africa recently that say that they do it as part of their address validation processes.
Via a web service one could possibly look at http://www.briteverify.com/


WebFOCUS 8.2.06 mostly Windows Server
 
Posts: 195 | Location: Johannesburg, South Africa | Registered: September 13, 2008Report This Post
Expert
posted Hide Post
I do like "BriteVerify". But, I'd rather keep it in-house. I'll probably use a list (from HR?) with an "IN FILE"...
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [NFR] Email Address Verification

Copyright © 1996-2020 Information Builders