<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Validate Email id in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/validate-email-id/m-p/3906790#M936931</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;Try with FM - &amp;gt; SX_INTERNET_ADDRESS_TO_NORMAL to validate the email address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now run the FM and see...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use cl_http_client class and send a dummy http request to the site to see whether its available or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check out the following program for sample code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RSWF_TEST_HTTP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: if you are connecting to internet via proxy and the url you are trying to reach is on internet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SICF GOTO-&amp;gt;HTTP client proxy settings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in global settings tab&lt;/P&gt;&lt;P&gt;check the check box "proxy setting is active"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the "HTTP log" tab&lt;/P&gt;&lt;P&gt;enter proxy host name e.g proxy.sap.com....&lt;/P&gt;&lt;P&gt;enter the proxy server port (generally 80)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if required you need to enter &lt;/P&gt;&lt;P&gt;proxy server authentication (uid/pwd)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jun 2008 07:00:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-02T07:00:27Z</dc:date>
    <item>
      <title>Validate Email id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validate-email-id/m-p/3906789#M936930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ppl,&lt;/P&gt;&lt;P&gt;Is there any standard FM to validate the email address.&lt;/P&gt;&lt;P&gt;In my report program, I am allowing the user to enter the email address in the selection screen.&lt;/P&gt;&lt;P&gt;I want to validate this email address before sending a mail.&lt;/P&gt;&lt;P&gt;Declaration:&lt;/P&gt;&lt;P&gt;PARAMETERS: p_mailid TYPE recacommmailpar-smtp_addr.  "Mail ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am calling the FM: SO_NEW_DOCUMENT_ATT_SEND_API1 to send the email to specified user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dawood.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 06:54:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validate-email-id/m-p/3906789#M936930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-02T06:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Validate Email id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validate-email-id/m-p/3906790#M936931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;Try with FM - &amp;gt; SX_INTERNET_ADDRESS_TO_NORMAL to validate the email address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now run the FM and see...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use cl_http_client class and send a dummy http request to the site to see whether its available or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check out the following program for sample code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RSWF_TEST_HTTP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: if you are connecting to internet via proxy and the url you are trying to reach is on internet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SICF GOTO-&amp;gt;HTTP client proxy settings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in global settings tab&lt;/P&gt;&lt;P&gt;check the check box "proxy setting is active"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the "HTTP log" tab&lt;/P&gt;&lt;P&gt;enter proxy host name e.g proxy.sap.com....&lt;/P&gt;&lt;P&gt;enter the proxy server port (generally 80)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if required you need to enter &lt;/P&gt;&lt;P&gt;proxy server authentication (uid/pwd)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 07:00:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validate-email-id/m-p/3906790#M936931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-02T07:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Validate Email id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validate-email-id/m-p/3906791#M936932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm not sure about any FM which can validate an email id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I can give you an alternate solution - If there are only a specific set of email ids that the user will use, then you can create a custom table to hold all those email ids &amp;amp; validate the user input against the data in that table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sayee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 07:01:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validate-email-id/m-p/3906791#M936932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-02T07:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Validate Email id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validate-email-id/m-p/3906792#M936933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dawood,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can validate with &lt;STRONG&gt;ADR6&lt;/STRONG&gt; table field SMTP_ADDR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 07:05:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validate-email-id/m-p/3906792#M936933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-02T07:05:43Z</dc:date>
    </item>
  </channel>
</rss>

