Need a way to verify from SAP if an email address really exists

Hi Guru,
I need a way to verify from SAP if an email address really exists.
Thanks in advance
Soufiene

Hello,
Try the following code. It gives an option of using a webservice to validate an email address. This piece of code may help in solving your query.
PARAMETERS: p_mail(100) LOWER CASE.                 " E-Mail id to be verified
DATA: http_client TYPE REF TO if_http_client .
DATA: w_string TYPE string ,
      w_result TYPE string ,
      r_str    TYPE string .
DATA: result_tab TYPE TABLE OF string.
START-OF-SELECTION .
  CLEAR w_string .
  CONCATENATE
  'http://www.webservicex.net/ValidateEmail.asmx/IsValidEmail?Email=' p_mail
INTO
  w_string .
  CALL METHOD cl_http_client=>create_by_url
    EXPORTING
      url                = w_string
    IMPORTING
      client             = http_client
    EXCEPTIONS
      argument_not_found = 1
      plugin_not_active  = 2
      internal_error     = 3
      OTHERS             = 4.
   CALL METHOD http_client->send
    EXCEPTIONS
      http_communication_failure = 1
      http_invalid_state         = 2.
    CALL METHOD http_client->receive
    EXCEPTIONS
      http_communication_failure = 1
      http_invalid_state         = 2
      http_processing_failed     = 3.
  CLEAR w_result .
  w_result = http_client->response->get_cdata( ).
   REFRESH result_tab .
  SPLIT w_result AT cl_abap_char_utilities=>cr_lf INTO TABLE result_tab .
   READ TABLE result_tab INTO r_str INDEX 2.
  IF r_str+44(1) = 't'.
    WRITE:/ 'Valid email address'.
  ELSE.
    WRITE:/ 'Invalid email address'.
  ENDIF.
Regards,
Sachin

Similar Messages

  • Do we need to buy the license from SAP for EACH 'Z'form

    Hello
    I heard that, we (company) have to take license for the development of EACH adobe interactive form (even though its totally custom brand-new interactive form created from scratch), on individual form basis, is it true? (i know, its free of cost to play around with interactive forms in DEV and QA, but, if we want to move them to PROD, in that case do we need to buy the license from SAP for EACH form individually?)
    Thank you

    Thats true...license based on end user usage is required for SAP interactive forms. For more information read SAP note number 750784. The license comes in package like per 1000 users one time payment.
    Regards,
    Vaibhav

  • Is there an easy way to switch from Entourage (MS Office email) to Apple email?  The new MS Office does not support Entourage.

    I am looking for a way to shift from Entourage (MS Office email) to the Apple system for email?  The new MS Office does not support Entourage.

    Philip if you can't find your answer in this forum try the Snow Leopard forum, Mail is considered part of OS X so you may have luck there.
    Also you also may want ot be more specific when posting. I'm assuming because you only mention Mail all you are interested in is switching to Mail or did you have more in mind?

  • Does mail have a way to verify if someone receives an email and opens it

    Question: does Mail have a way to verify if someone receives an email and/or opens it? Burt Brown ,StCharles Illinois

    No. Read receipt is not a feature available in Mail.
    Best.

  • I need to reset my security questions.  However, the email address in the hypertext link is wrong.  How do I change it?

    I need to reset my security questions.  However, the email address in the hypertext link is wrong, so I never receive the "reset" email from Apple.  How do I change it?

    Alternatives for Help Resetting Security Questions and/or Rescue Mail
         1. If you have a rescue email address or a Security Questions issue, then see:
             If you forgot the answers to your Apple ID security questions - Apple Support.
             Manage your Apple ID primary, rescue, alternate, and notification email addresses - Apple Support
         2. Fill out and submit this form. Select the topic, Account Security. You must
             have a Rescue Email to use this option.
         3. This is the only option if you do not already have a valid Rescue Email.
             These are telephone numbers for contacting Apple Support in your country.
             Apple ID- Contacting Apple for help with Apple ID account security. Select
             the appropriate country and call. Ask to speak to the Account Security Team.
         4. Account security issues almost always require you to speak directly to an
             Apple representative to securely establish your identity as the account holder.
             You can set it up so that Apple calls you, either immediately or at a time
             convenient to you.
                1. Go to www.apple.com/support.
                2. Choose Contact Support and click Contact Us.
                3. Choose Other Apple ID Topics and choose the appropriate topic for
                    your issue.
                4. Follow the onscreen instructions.
             Note: If you have already forgotten your security questions, then you cannot
             set up a rescue email address in order to reset them. You must set up
             the rescue email address beforehand.
    Your Apple ID: Manage My Apple ID.
                            Apple ID- All about Apple ID security questions.

  • I accidentally in put the wrong email address when attempting to register with iCloud. As such, I can't verify the account with that email address because it does not exist. What should I do?

    I accidentally input the wrong email address when attempting to register with iCloud. Therefore, I can't verify the account because the email address that I accidentally used does not exist. Can someone help me figure a way out of this because there does not appear to be a way to edit the email address?

    try https://appleid.apple.com... enter the new icloud id, and try to edit the email address assocaited.

  • How do I email a group from a list of email addresses in a pdf?

    how do I email a group from a list of email addresses in a pdf?

    Work Around:
    On your mac:
    1.  Open a new email
    2.  Insert name of an existing group into one of the "To" fields as usual.
    3.  Highlight all the resulting names in the "To" entry
         [Highlight first name, and while holding shift, highlight last name and all will highlight[]
    4. Copy (Command C) the highlighted emails
    5. Paste (Command V) nto a pages document
    6. Remove the name and anything else preceeding the first < and also the first < of only the first entry whixh will look like this:
         [email protected]>,
    7. Remove the > of the last email which will look like this:
         , Jane Doe <[email protected]
    8. Copy the entire altered list from the pages document
    9, Go to Contact Book and click + to add a new entry
    10.. Name the entry (XXX Group for iPad) or whatever you wish to call it
    11.  Paste all the copied altered list into any one of the email entry spaces
    12.  Click on "Done"
    13.  Create new email On iPad and click on + in any one of the "To" lines and search for "XXX Group for iPad"  You cannot just key in XXX Group for iPad!!!!!!!, you must use + contact search.
    14.  Enter the selected iPad contact group into the "To" line.
    15.  All the entries will now appear in the "To" line and you are good to go.
    Adding or deleting email addresses from the iPad group:
    Easiest:  Alter the original mac group in the usual way and repeat steps 1-14 above.  It seems impossible to edit within the emai line of the iPad contact entry.
    Rediculously simple once figured out.
    Happy emailling, but please send Bcc so that you don't spread your groups' email addresses all over the internet for spam, viruses, and other unwanted emails.  Be considerate and ask your recipients to notifiy you if they wish to be deleted from the lists you compose.

  • Trouble with forwarding emails. Can't seem to find a way to get rid of previous senders' email addresses before myself forwarding on the email. I used to be able to do this before I upgraded. Any ideas?

    Can't seem to find a way to get rid of previous senders' email addresses before myself forwarding on the email. I used to be able to do this before I upgraded. Any ideas?

    Current Firefox versions have enabled a new build-in PDF Viewer and that viewer doesn't have all the features that the Adobe Reader has.
    You can change the action for Portable Document Format (PDF) from Preview in Firefox to use the Adobe Reader or set to Always Ask.
    *https://support.mozilla.org/kb/change-firefox-behavior-when-open-file
    You can set the pdfjs.disabled pref to true on the <b>about:config</b> page to completely disable the build-in PDF viewer and use the Adobe Reader instead.
    See also:
    *https://support.mozilla.org/kb/view-pdf-files-firefox-without-downloading-them

  • I am trying to change my apple Id on my iPad from an old work email address to a new one.  I have changed it in FaceTime and on the iPad log in but can't get it to change in iTunes. Any ideas?

    I am trying to change my Apple ID on my iPad from an old work email address to a new personal address.  I have changed it on my new iPad and in FaceTime but can't get it to work in iTunes.  Any ideas?

    If they are no longer in your camera roll, save them to your camera roll before deleting the account (open your my photo stream album, tap Select, tap the photos, tap the share icon -- box with upward pointing arrow, the tap Save to Camera Roll).

  • How to get my Name in the From Field instead of email address?

    For an Exchange Activesync account, how do you get your friendly "Name" to show in the From: field rather than email address ([email protected])?
    I seem to be able to do this fro IMAP/POP accounts but not Exchange Activesync.
    All the discussions I've found about gmail and Activesync seem to be centered on getting your messages to show a different return email address than your exchange account. I'm not looking for this, just to show the Name.
    Thanks

    If you add a contact ("Contacts app>> "+">> enter info) with that email address, it will appear in mail with whatever name you set in the email address' contact.

  • When typing email address that I have sent emails to before what setting do I need to change so my computer will remember these email addresses, like explore does? I can't find my email settings?

    When typing email address that I have sent emails to before what setting do I need to change so my computer will remember these email addresses, like explore does? I can't find my email settings?

    This is called autocomplete. Please read the article [[Form autocomplete entries are not saved]], as it should solve the problem.

  • I just upgraded to iOS 8. In iCloud I'm being prompted to check my email to verify this account. The email address they have at the top of my phone is wrong. I have it typed correctly everywhere else. Now what do I do?

    I just upgraded to iOS 8. In iCloud I'm being prompted to check my email to verify this account. The email address they have at the top of my phone is wrong. I have it typed correctly everywhere else. Now what do I do?

    See if you can manage your Apple ID and change the primary email account to the correct address, as explained here: Change your Apple ID.  Then verify the address.

  • HT4899 Is there a way I can delete my primary @me email address so that I can receive emails only via my "reserved" @icloud address. The reason being, I receive a fair bit of spam to my @me address. Going forward I plan on using an alias for certain websi

    Is there a way I can delete my primary @me email address so that I can receive emails only via my "reserved" @icloud address. eg. delete "msjones@me" and receive emails via "msjones@icloud" only.The reason being, I receive a fair bit of spam to my @me address. Going forward I plan on using an alias for certain websites to minimise this problem.

    You can't delete the address, but you can set up a Rule to move messages to that address to the Trash or another folder. Go to http://icloud.com and go to the Mail page, click the cogwheel icon at top right and choose 'Rules'.
    It's a bad idea to post your email address - it's an invitation to spam - even though in fact you haven't posted them in full; I've asked the hosts to remove them.

  • Which one is the best way in migration from sap bpc ms 5.1 to nw7.5

    Hi,
    I am doing Migration project from SAP BPC MS to NW.
    In this which one is the best way migrating By manually or By using SAP Migration tool.
    What are the merits and demarits migrating by manually.
    The data is moving from MS to NW as it is by using sap migration tool.
    Could you please answer my questions as early as possible.

    Hi,
    You would need manual effort anyways. Some of the objects are not either migrated or you need to update manually after the migration. Example, reports have to be modifed and as they may not work due to some of the options.
    Also your packages, script logic etc have to recreated. So its upto you as the migration toosl takes across your appset, applications, dimensions and the master data etc. The manual involvement is inevitable. You need to probably take what the tool allows you to do and make manual corrections for the objects that are not supported.
    Thanks,
    Sreeni

  • Sending certificates from sap as an email

    Hello everybody,
    How can I send an certificate from sap (transaction: s_p00_07000134) via the smartforms IDWTCET_CO_01 by email.
    thanks a lot,
    Hernán Restrepo

    I am sorry the smartform is:
    IDWTCERT_CO_01

Maybe you are looking for

  • Sort(java.util.LinkedList java.lang.Object ) doesn't work

    Why doesn't this work? LinkedList<Object> sysPropsKeys = new LinkedList<Object>(System.getProperties().keySet()); Collections.sort(sysPropsKeys); cannot fnd symbol symbol : method sort(java.util.LinkedList<java.lang.Object>) location: class java.util

  • Error in Process flow running in SQL owb_run_own.wb_rt_api_exec.run_task

    Hi all We are having issue with owb_run_own.wb_rt_api_exec.run_task using Sql Plus When i try to run through Warehouse Builder Process flow ran Successfully When i try to run through SQL Plus using owb_run_own.wb_rt_api_exec.run_task We are getting e

  • Which table store 'course location'?(lso_pv1b)

    when use lso_pv1b/pv1b,We can see course location(number) I want to see more details about the location number,which table? maybe HRP....

  • UDM_DISPUTE - Change field

    Hello All, We have a requirement where we need to add extra details into the description of the sold-to party in UDM_DISPUTE transaction. For example there is a sold-to-party 123556 and the description shown is ABCD ,we would like to change the descr

  • RenderKitId and ViewHandler in JSF1.2

    I've been reading the JSF 1.2 spec, and I am a bit confused about how the ViewHandler interacts with the view's renderKitId. From the JSF 1.2 Final Draft (May 2006), Section 9.4.20 (f:view) indicates that the renderKitId attribute is set in this orde