Validate form and then send an email

Hi there,
I have pretty much built a form which I can validate how I
want to. How can I can now send the email. Generally I use php to
send my emails. Can somebody give me a pointer on how to tie the
two together?
regards, Chris

Hi there,
I have pretty much built a form which I can validate how I
want to. How can I can now send the email. Generally I use php to
send my emails. Can somebody give me a pointer on how to tie the
two together?
regards, Chris

Similar Messages

  • Sap script convert to pdf and then send to email

    Hi,
    good day sap guys
    ive dev the sap scipt for customer statemnet one which is used the t.code is f.27.
    i need to convert the sap script to pdf and then send to email.
    plz let me know..
    how to do it.
    regards
    chandu

    Hi,
       I script program use the following (go to the "call function 'CLOSE_FORM'")
    data: binfilesize type i.
      data: pdftab type table of tline with header line.
      data: i_itcpp like itcpp.
      data: g_t_otfdata type standard table of itcoo with header line.
      call function 'CLOSE_FORM'
       IMPORTING
         RESULT  = i_itcpp
          tables
            otfdata = g_t_otfdata[]
          exceptions
            others  = 1.
      if sy-subrc ne 0.
        retcode = sy-subrc.
        perform protocol_update.
      endif.
      call function 'CONVERT_OTF'
    exporting
    format = 'PDF'
    importing
    bin_filesize = binfilesize
    BIN_FILE =
    tables
    otf = g_t_otfdata[]
    lines = pdftab[].
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    concatenate file_path  '.pdf' into filename.
    call function 'GUI_DOWNLOAD'
      exporting
      bin_filesize = binfilesize
      filename = filename
      filetype = 'BIN'
    APPEND = ' '
    WRITE_FIELD_SEPARATOR = ' '
    HEADER = '00'
    TRUNC_TRAILING_BLANKS = ' '
    WRITE_LF = 'X'
    COL_SELECT = ' '
    COL_SELECT_MASK = ' '
    DAT_MODE = ' '
    CONFIRM_OVERWRITE = ' '
    NO_AUTH_CHECK = ' '
    CODEPAGE = ' '
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    WRITE_BOM = ' '
    TRUNC_TRAILING_BLANKS_EOL = 'X'
    WK1_N_FORMAT = ' '
    WK1_N_SIZE = ' '
    WK1_T_FORMAT = ' '
    WK1_T_SIZE = ' '
    IMPORTING
    FILELENGTH =
      tables
      data_tab = pdftab[]
    FIELDNAMES =
      exceptions
      file_write_error = 1
      no_batch = 2
      gui_refuse_filetransfer = 3
      invalid_type = 4
      no_authority = 5
      unknown_error = 6
      header_not_allowed = 7
      separator_not_allowed = 8
      filesize_not_allowed = 9
      header_too_long = 10
      dp_error_create = 11
      dp_error_send = 12
      dp_error_write = 13
      unknown_dp_error = 14
      access_denied = 15
      dp_out_of_memory = 16
      disk_full = 17
      dp_timeout = 18
      file_not_found = 19
      dataprovider_exception = 20
      control_flush_error = 21
      others = 22
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.

  • Need to have a form to enter data and then send data to database

    I'm looking for assistance with a form created; the end user will complete the form and then press the submit button to email it. Next I need to import that data to either a database or excel spreadsheet.

    If you are looking for a consultant with expertise in Adobe products, may I suggest the Partner Finder at
    http://partners.adobe.com/public/partnerfinder/dev/show_find_by_service.do

  • I have an editable pdf made in Acrobat. Viewing it Adobe Reader Mobile (Android) and I can fill it fine. I want to be able to fill the form but it keeps autosaving. I just want to email the form and then it goes back to an unfilled form. How do i do that?

    I have an editable pdf made in Acrobat. Viewing it Adobe Reader Mobile (Android) and I can fill it fine. I want to be able to fill the form but it keeps autosaving. I just want to email the form and then it goes back to an unfilled form. How do i do that?

    Currently, Adobe Reader for Android does not provide an option to disable auto-save.
    In the Reader home screen (where your files are displayed), you can make a copy of the original PDF document, open the copy (instead of opening the original document), make changes to the copy.  Once you email the copy, you can delete it.
    For more information, please see Help > How To... > Copy, edit, delete, manage.
    Although it is not the most convenient way to accomplish the task, that's the only feasible workaround that is available in Adobe Reader for Android right now.

  • With Mozilla Firefox, I cannot go to "File" and then "Send Link" so as to pull up an email ready to send via Outlook Express, as I can with Internet Explorer - how do I change the settings to permit this?

    If I am using Explorer, I can go to "File" and then "Send Link" -
    an email will automaticallt pop up, with the website url pasted in;
    I merely put in the recipents email address, hit Send, and away it goes
    With Firefox, the email does not pop up; I have to manually pull up an email ("create mail"), then copy and paste the website url
    displayed by Firefox
    I want to override this default to Explorer

    Hi,
    Please try this: '''Tools''' (or '''Alt''' + '''T''') > '''Options''' > '''Applications'''. Look for or start typing '''mailto''' in the search box and for the '''Action''' change it to the desired mail client (the application that opens up in Explorer) if the value is different.
    '''Options''' > '''Applications''': https://support.mozilla.com/en-US/kb/Options%20window%20-%20Applications%20panel
    Managing Actions: https://support.mozilla.com/en-US/kb/Managing%20file%20types

  • How do I scan a photo to a file and then send the file as an attachment via email.

    How do I scan a photo to a file and then send the file as an attachment  via email.

    All of this depends largely on what printer /software you have, which Email client you use and to some extent which OS you are running.
    Most HP printers have HP Solution Center which is used to set up scanning,choosing where to save,etc. Once a file/photo is scanned and saved to the folder, open the folder.Select the file and at the top of the window should be the option to 'Email'.
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • Make my week schedule and then send it to all my team via email in detail

    I just switched to iCal (Calendar as I have ML) and the important feature for me using Outlook before was to Make my week schedule and then send it to all my team via email. They could see my whole week outlined in detail, I could choose data ranges, wether I wanted to send details or titles and then receiving parties could add the meetings they wanted in their calendar as well.
    Am I missing something or ical completely missed the boat on that one? is Apple going Backwards?

    Hi,
    This issue is usually caused by some anti-virus programs, disable the anti-virus program you have on the PC, check if this issue will happen again.
    You may also run Outlook in Safe Mode to determine if it's 3rd-party add-ins related:
    Press Win + R and type “outlook.exe /safe” in the blank box, then press Enter.
    If there’s no problem viewing html emails in Safe Mode, disable the suspicious add-ins to verify which add-ins caused this issue. Some security programs may have such add-ins intergrated with Outlook.
    Regards,
    Melon Chen
    TechNet Community Support

  • Adding  prompts dynamically and then send the results to users via email

    Hi,
    We have to schedule the reports for auto delivery to users at a specific time period. Please, tell me the mechanism to schedule them and how to assign prompt values to them. Currently, the reports are run by users by selecting prompts from the dashboard. If we schedule them, we will have to add some of these prompts dynamically and then send the results to users via email.
    Thanks in advance!

    Hi,
    I haven't tested it myself...but may be the following steps can help you.
    Fill some session variables depending on the the name of the user who logs in (this can be done easily be creating different session variables and put some executing order in it)
    Then you use these session variables as default values for your prompts. So the report will be executed making use of this default values.
    And by scheduling your ibot..you can send it by mail.
    I don't know if it's this what you're looking for...probably you have to base your prompt values depending on the users that are selected in your ibot?
    Hope it can help y ou in some way or another...
    KR,
    A

  • Contact form won't send to email

    I've done this contact form loads of times and it works fine but for some reason this particular form won't send to email. The php is good so it must be my form. I'll put both bits of code up anyway. Thanks
    PHP:
    <?php
    if ($_POST){
    if (!filter_input(INPUT_POST, 'email', FILTER_VALIDATE_EMAIL)){
    $message="Please provide a correct email address";} else {
      $name = strip_tags($_POST['name']);
      $company_name = strip_tags($_POST['company_name']);
      $telephone = strip_tags($_POST['telephone']);
      $email = $_POST['email'];
      $comments = strip_tags($_POST['comments']);
      $to = '[email protected]';
      $subject = 'Contact form submitted.';
      $body = $name. "\n". $company_name. "\n". $telephone. "\n". $email. "\n" .$comments;
      $headers = 'From: ' .$email;
      if (mail($to, $subject, $body, $headers)) {
      echo 'Thanks for contacting us. We\'ll be in touch soon!';
      } else {
      $message = 'Sorry an error occurred. Please try again later.';
    ?>
    <?php echo "<p style='color:red'>$message</p>"; ?>
    HTML:
    <form id="contactform" action="" method="post">
    <p>Name:<br/><input name="name" type="text" required /></p>
    <p>Company Name: <br/><input name="company_name" type="text" required/></p>
    <p>Telephone: <br/><input name="telephone" type="tel" required/></p>
    <p>Email: <br/><input name="email" type="email" required/></p>
    <p>Comments: <br/><textarea name="comments" required/>   </textarea></p>
        <input type="submit" name="submit" value="Send!" formmethod="post"/>
    </form>

    PEAR is a library of useful functions that is often included in a PHP installation.
    BUT. . .PHP only uses the mail capabilities of the server. If the server doesn't allow it, then you may not able to send email no matter what. . .however, I am not absolutely sure of that. I have never had to work with a server that did not support mail.
    SMTP is a protocol that uses an email account to send mail. You may be able to tie your mail to an external SMTP account, for instance even a GMAIL account. PHPMailer is an add-on that you can use to do this. You can install it on your website. It isn't hard to use, but it is more involved than simply using PHP mail().
    But really, have a conversation with the server admin about all of this. Find out why PHP mail isn't installed, and if he is willing to install it.

  • Can I create a fillable pdf form and then export it for client use on my web site?

    Can I create a fillable pdf form and then export it for client use on my web site?  I need clients to be able to fill in the (registration) form on my site then submit it via email.

    [discussion moved to Creating, Editing & Exporting PDFs forum]

  • Offline interactive forms based on sending receiving emails in ABAP

    hello friends i am struck with a requirement of my client.
    I am new to Forms and WEBDYNPRO and I have to cover a scenario where I have to develop,'offline interactive forms based on sending receiving emails '..
    i browsed a bit and with all the luck found a very good resource.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cacb9a7d-0c01-0010-1281-be4962c9ab3e
    but the problem is it is in JAVA.. I dont know JAVA..I know ABAP..
    can any one give me similar tutorial in ABAP or any other related links ..
    waiting to give Big Reward Points...

    Hi,
    Go thru this [Article|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9051b07e-0c01-0010-87bc-e3d527153a31].
    Regards,
    Padmam.

  • How can I create an csv/excel file using pl/sql and then sending that file

    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.

    968776 wrote:
    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.You are trying to do it at a wrong place..
    Whay do you want database (pl/sql) code to do these things?
    Anyhow, you may be interested in :
    {message:id=9360007}
    {message:id=9984244}

  • I need to create a fillable form and then generate a reports.

    Hello everybody. I need to create a fillable form and then generate a report using numbers. You know, for example if you have customers, I need to be able to write the usual , name, last name, address, and some other details and then using a standard letter I would like the form to be able to populate these fields automatically in a standard pre formatted letter by our company and then be able to print it.
    Any help to point me in the right direction I would appretiate very much.
    I have iwork 9 installed in my macbook pro

    This is acalled a mail merge and is solved using a combination of Numbers (or address book) and Pages.  To get detailed help how to performa a mail merge start in Pages, then in the help menu type Mail Merge:
    Also download the help files for Numbers and Pages here:
    http://support.apple.com/manuals/#
    Page 247 in the Pages User's Guide has details how to perform a a mail merge.
    Post back with specific questions if you need to.
    Regards,
    Wayne

  • How do I complete online .pdf form and then print?

    Sometimes, I can enter data on an online .pdf form and sometimes, I cannot.  I need to complete forms and then print them rather than print a blank form to complete by handwriting.  Window XP and Vista on my computers.  I have installed some Adobe and Acrobat programs but do not know which ones would help me with my problem.  thank you

    Adobe is the company. I assume you are talking about Reader and Acrobat. It would be nice to know which ones, but the answer is likely the same. With Reader, you can only complete the form electronically in Reader if the creator added from fields for your to fill in. If not you have one option and that is to print. You could still play with filling it out electronically, but you would have to print the form, put it back in the printer, and use your word processor to place the information on the form. This is a bit time consuming and requires some measuring and possibly some trial and error, but it does work - I used to fill forms out like this all the time, but generally forms I filled out once a month and so it was worth the time.
    With Acrobat, you can use the Typewriter tool, Use the Text Touchup Tool (not real convenient) with the ctrl key used when you place the cursor, or create your own fields. Depending on your version of Acrobat, you may not be able to create form fields (like AA7 Std and before I think, Pro includes the form tools). With forms, you may also have the choice of the form files under TOOLS>Advanced Editing (typically called AcroForms) or the FORM menu that typically takes you to Designer.
    Those are your choices, though there are variations with version (next time try to tell us the program version you are using and if it is Reader or Acrobat - for Reader you may want to go to the Reader forum).

  • I created a pdf form and then iported it to Forms Central for distribute. It is now loaded to my website and setup so a person clicks on the link to open the form. At this point they then have to go to upper right to open form using a different view. I wo

    I created a pdf form and then imported it to Forms Central for distribute. It is now loaded to my website and setup so a person clicks on the link to open the form. At this point they then have to go to upper right to open form using a different view. I would like the form to open directly in Adobe Reader form to make it easier to enter information. Thanks, Ike

    If you created it in Forms Central, you have to edit it there. I believe Forms Central is similar to LiveCycle Designer in that the form created is no longer able to be edited in Acrobat. I might be wrong, but that is my understanding. You add the submit button in Forms Central. Within Acrobat, you should be able to go to the forms menu and Manage Data to save the data to an Excel file. Others better with forms should be by to clarify things, but this should get you started. In the future you might find it better to post a forms question in the forms discussions.

Maybe you are looking for

  • I updated iTunes and now it won't back up my iPhone, what can I do?

    I updated my iTunes today. When I plug in my iPhone, it won't update or back up. Is there something I can do about this?

  • Web browser only zooms, will not scroll

    Completely new to Palm here.  Have had the Pre Plus for a week on Verizon.  Having what I think is a minor problem that I can't seem to figure out and it is driving me crazy.  I did search these forums and haven't found anyone with a similar problem

  • Using a photo as the background when creating a book.

    In the 08 version, the photo background could be used no matter which page layout was selected. For some unknown reason with 09, you can only use a photo as the background when you select "two" and click on the choice that has one picture frame as th

  • IOS7.0.2 can not make phone call anymore

    iPhone 5 upgraded to iOS7.0.2 cannot make phone call anymore? Reset all settings, didn't solve the issue. Help!

  • License Agreements not displayed during Install

    I created and installer in LabVIEW 2011 (64-bit OS with Windows 7).  I added a custom license agreement (rtf) file to my installer and included it as shown below.  The setup.ini includes a reference to the file and I confirmed that the file exists in